aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_make.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-11-25 20:51:34 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-12-23 18:15:52 -0500
commitfb112dca9c785a71eaf033732b87519a6575b3a8 (patch)
treeff689aa48548a84df8378df6b21fa268e628ae26 /org/config_make.org
parent0.12.0 (diff)
spine-search-cgi separate commits, remove sundry
Diffstat (limited to 'org/config_make.org')
-rw-r--r--org/config_make.org83
1 files changed, 0 insertions, 83 deletions
diff --git a/org/config_make.org b/org/config_make.org
index 8214e4e..cfbd01a 100644
--- a/org/config_make.org
+++ b/org/config_make.org
@@ -1755,89 +1755,6 @@ if [ -e .env/echo-nixNote ]; then
fi
#+END_SRC
-* dr spine_search
-** spine_search makefile :makefile
-*** tangle
-
-#+HEADER: :tangle ../sundry/spine_search_cgi/makefile
-#+HEADER: :noweb yes
-#+BEGIN_SRC makefile
-<<make_cgi_search_makefile>>
-<<make_get_project_cgi_search_dependencies_github>>
-#+END_SRC
-
-*** make
-
-#+NAME: make_cgi_search_makefile
-#+BEGIN_SRC makefile
-SpineBIN := "${SpineBIN}" # 'result/bin'
-SpineOUT := "${SpineOUT}" # '/srv/www/spine'
-SpinePOD := "${SpinePOD}" # '~/grotto/repo/git.repo/projects/project-spine/doc-reform-markup/spine-markup-samples/markup/pod'
-SpineSearchAction := 'https://sisudoc.org/spine_search'
-SpineCGIform := 'spine_search'
-SpineSQLdb := 'spine.search.db'
-
-# nix build
-build:
- nix-build
-
-# cp cgi search form
-cp-cgi:
- sudo cp -vi /var/www/cgi/cgi-bin/spine_search /var/www/cgi/cgi-bin/spine_search_old && \
- sudo cp -vi result/share/cgi-bin/spine_search /var/www/cgi/cgi-bin/spine_search
-
-#+END_SRC
-
-*** get project dependencies
-
-#+NAME: make_get_project_cgi_search_dependencies_github
-#+BEGIN_SRC makefile
-get_depends:
- hwd=$$(echo `pwd`) && \
- gwd="$${hwd}/src/ext_depends_cgi" && \
- dirs=$$(echo `ls -gx $${gwd}`) && \
- license_bsl="Boost Software License 1.0 (BSL-1.0)" && \
- echo $${hwd} && \
- echo $${gwd} && \
- echo $${deps} && \
- dub upgrade; \
- cd $${gwd} && \
- for dir in $${deps}; do \
- if [ -d $${dir} ]; then \
- echo $${dir} && \
- if [[ "arsd" == $${dir} ]]; then \
- echo $${dir} && \
- rm -rf $${dir} && \
- mkdir $${dir} && \
- aria2c -o "$${dir}/cgi.d" "https://raw.githubusercontent.com/adamdruppe/arsd/master/cgi.d" && \
- cd $${gwd}; \
- elif [[ "d2sqlite3" == $${dir} ]]; then \
- echo $${dir} && \
- rm -rf $${dir} && \
- git clone --depth=1 https://github.com/dlang-community/$${dir} && \
- cd $${dir} && \
- echo "$${dir} `git rev-parse HEAD | cut -c 1-8`" > ../$${dir}.meta && \
- echo "https://github.com/dlang-community/$${dir}" >> ../$${dir}.meta && \
- echo "$${license_bsl}" >> ../$${dir}.meta && \
- cd $${gwd} && \
- rm -rf $${dir}/.git; \
- fi; \
- fi; \
- done; \
- cd $${hwd}
-
-set_depends: get_depends
- dub describe | sed 's~$(shell echo `pwd | sed 's_/_\\/_g'`)~.~g' > dub_describe.json
-
-#+END_SRC
-
-** .env/local
-
-#+HEADER: :NO-tangle ../sundry/spine_search_cgi/.env/local
-#+BEGIN_SRC nix
-export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos
-#+END_SRC
-
* www dr spine latex
- /srv/www/spine/latex