diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 343 |
1 files changed, 342 insertions, 1 deletions
@@ -14,7 +14,71 @@ ORG_CONTRIB_VER_AVAILABLE=$(shell echo `ls -d ~/.emacs.d/elpa/org-plus-???????? EMACSLISP_ORG_CONTRIB=~/.emacs.d/elpa/org-plus-contrib-$($(shell echo $(ORG_CONTRIB_VER_AVAILABLE))) ORGFILELIST=$(shell echo `ls -1 maker.org org/*.org`) ORGFILES="" -ORGDIR=$(shell echo `pwd`) +ORGDIR :=$(shell echo `pwd`) +SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND= \ +find data/sdlang/sisupod -maxdepth 2 -name sisupod.manifest | sort | xargs + +SiSU_MARKUP_SAMPLES_POD_SDL= \ +data/sdlang/sisupod/accelerando.charles_stross \ +data/sdlang/sisupod/alices_adventures_in_wonderland.lewis_carroll \ +data/sdlang/sisupod/content.cory_doctorow \ +data/sdlang/sisupod/democratizing_innovation.eric_von_hippel \ +data/sdlang/sisupod/down_and_out_in_the_magic_kingdom.cory_doctorow \ +data/sdlang/sisupod/for_the_win.cory_doctorow \ +data/sdlang/sisupod/free_as_in_freedom_2.richard_stallman_and_the_free_software_revolution.sam_williams.richard_stallman \ +data/sdlang/sisupod/free_culture.lawrence_lessig \ +data/sdlang/sisupod/free_for_all.peter_wayner \ +data/sdlang/sisupod/gpl2.fsf \ +data/sdlang/sisupod/gpl3.fsf \ +data/sdlang/sisupod/gullivers_travels.jonathan_swift \ +data/sdlang/sisupod/little_brother.cory_doctorow \ +data/sdlang/sisupod/live-manual \ +data/sdlang/sisupod/sisu-manual \ +data/sdlang/sisupod/the_autonomous_contract.ralph_amissah \ +data/sdlang/sisupod/the_cathedral_and_the_bazaar.eric_s_raymond \ +data/sdlang/sisupod/the_public_domain.james_boyle \ +data/sdlang/sisupod/the_wealth_of_networks.yochai_benkler \ +data/sdlang/sisupod/through_the_looking_glass.lewis_carroll \ +data/sdlang/sisupod/two_bits.christopher_kelty \ +data/sdlang/sisupod/un_contracts_international_sale_of_goods_convention_1980 \ +data/sdlang/sisupod/viral_spiral.david_bollier +SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND= \ +find data/sdlang/sisudir/media/text -name *.ss[tm] | sort | xargs + +SiSU_MARKUP_SAMPLES_DIR_SDL= \ +data/sdlang/sisudir/media/text/accelerando.charles_stross.sst \ +data/sdlang/sisudir/media/text/alices_adventures_in_wonderland.lewis_carroll.sst \ +data/sdlang/sisudir/media/text/content.cory_doctorow.sst \ +data/sdlang/sisudir/media/text/democratizing_innovation.eric_von_hippel.sst \ +data/sdlang/sisudir/media/text/down_and_out_in_the_magic_kingdom.cory_doctorow.sst \ +data/sdlang/sisudir/media/text/ffa_tmp.sst \ +data/sdlang/sisudir/media/text/for_the_win.cory_doctorow.sst \ +data/sdlang/sisudir/media/text/free_as_in_freedom_2.richard_stallman_and_the_free_software_revolution.sam_williams.richard_stallman.sst \ +data/sdlang/sisudir/media/text/free_culture.lawrence_lessig.sst \ +data/sdlang/sisudir/media/text/free_for_all.peter_wayner.sst \ +data/sdlang/sisudir/media/text/gpl2.fsf.sst \ +data/sdlang/sisudir/media/text/gpl3.fsf.sst \ +data/sdlang/sisudir/media/text/gullivers_travels.jonathan_swift.sst \ +data/sdlang/sisudir/media/text/little_brother.cory_doctorow.sst \ +data/sdlang/sisudir/media/text/sisu_markup.sst \ +data/sdlang/sisudir/media/text/sisu_markup_stress_test.sst \ +data/sdlang/sisudir/media/text/sisu_markup_test.sst \ +data/sdlang/sisudir/media/text/table_special_markup.sst \ +data/sdlang/sisudir/media/text/the_autonomous_contract.ralph_amissah.sst \ +data/sdlang/sisudir/media/text/the_cathedral_and_the_bazaar.eric_s_raymond.sst \ +data/sdlang/sisudir/media/text/the_public_domain.james_boyle.sst \ +data/sdlang/sisudir/media/text/the_wealth_of_networks.yochai_benkler.sst \ +data/sdlang/sisudir/media/text/through_the_looking_glass.lewis_carroll.sst \ +data/sdlang/sisudir/media/text/two_bits.christopher_kelty.sst \ +data/sdlang/sisudir/media/text/un_contracts_international_sale_of_goods_convention_1980.sst \ +data/sdlang/sisudir/media/text/viral_spiral.david_bollier.sst +markup_samples: + find data/sdlang/sisupod -name sisupod.manifest | sort; \ +find data/sdlang/sisudir/media/text -name *.ss[tm] | sort +markup_pod_samples: + find data/sdlang/sisupod -name sisupod.manifest | sort +markup_dir_samples: + find data/sdlang/sisudir/media/text -name *.ss[tm] | sort all: dmd ldc gdc all_ver: dmd_ver ldc_ver gdc_ver all_debug: dmd_debug gdc_debug ldc_debug @@ -137,6 +201,283 @@ rebuild: $(PRG_SRCDIR)/$(PRG_SRC) $(PRG_BINDIR)/$(PRG_BIN).o clean build makefile_new: make -k tangle_maker restart: clean tangle +dmd_testrun_find: + ./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +data/sdlang/sisupod/sisu-manual +dmd_testrun_find_pod_source: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-ldc -v --source --html --epub \ +--output-dir=tmp/program_output_pod +dmd_testrun_find_pod_sisupod: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-dmd -v --sisupod \ +--output-dir=tmp/program_output_pod +dmd_testrun_find_pod_html: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-dmd -v --html \ +--output-dir=tmp/program_output_pod +dmd_testrun_find_pod_epub: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-dmd -v --epub \ +--output-dir=tmp/program_output_pod +dmd_testrun_find_pod_all: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod +dmd_testrun_paths_pod_source: + ./bin/sdp-dmd -v --source \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +dmd_testrun_paths_pod_sisupod: + ./bin/sdp-dmd -v --sisupod \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +dmd_testrun_paths_pod_html: + ./bin/sdp-dmd -v --html \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +dmd_testrun_paths_pod_epub: + ./bin/sdp-dmd -v --epub \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +dmd_testrun_paths_pod_all: + ./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +gdc_testrun_find: + ./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +data/sdlang/sisupod/sisu-manual +gdc_testrun_find_pod_source: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-gdc -v --source \ +--output-dir=tmp/program_output_pod +gdc_testrun_find_pod_sisupod: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-gdc -v --sisupod \ +--output-dir=tmp/program_output_pod +gdc_testrun_find_pod_html: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-gdc -v --html \ +--output-dir=tmp/program_output_pod +gdc_testrun_find_pod_epub: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-gdc -v --epub \ +--output-dir=tmp/program_output_pod +gdc_testrun_find_pod_all: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ +./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod +gdc_testrun_paths: + ./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +data/sdlang/sisupod/sisu-manual +gdc_testrun_paths_pod_source: + ./bin/sdp-gdc -v --source \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +gdc_testrun_paths_pod_sisupod: + ./bin/sdp-gdc -v --sisupod \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +gdc_testrun_paths_pod_html: + ./bin/sdp-gdc -v --html \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +gdc_testrun_paths_pod_epub: + ./bin/sdp-gdc -v --epub \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +gdc_testrun_paths_pod_all: + ./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +ldc_testrun_find: + ./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +data/sdlang/sisupod/sisu-manual +ldc_testrun_find_pod_source: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ + ./bin/sdp-ldc -v --source \ +--output-dir=tmp/program_output_pod +ldc_testrun_find_pod_sisupod: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ + ./bin/sdp-ldc -v --sisupod \ +--output-dir=tmp/program_output_pod +ldc_testrun_find_pod_html: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ + ./bin/sdp-ldc -v --html \ +--output-dir=tmp/program_output_pod +ldc_testrun_find_pod_epub: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ + ./bin/sdp-ldc -v --epub \ +--output-dir=tmp/program_output_pod +ldc_testrun_find_pod_all: + $(SiSU_MARKUP_SAMPLES_PODS_SDL_FOUND) \ + ./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod +ldc_testrun_paths: + ./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +data/sdlang/sisupod/sisu-manual +ldc_testrun_paths_pod_source: + ./bin/sdp-ldc -v --source \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +ldc_testrun_paths_pod_sisupod: + ./bin/sdp-ldc -v --sisupod \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +ldc_testrun_paths_pod_html: + ./bin/sdp-ldc -v --html \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +ldc_testrun_paths_pod_epub: + ./bin/sdp-ldc -v --epub \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +ldc_testrun_paths_pod_all: + ./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_pod \ +$(SiSU_MARKUP_SAMPLES_POD_SDL) +dmd_testrun_find_dir_source: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-dmd -v --source \ +--output-dir=tmp/program_output_dir +dmd_testrun_find_dir_sisupod: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-dmd -v --sisupod \ +--output-dir=tmp/program_output_dir +dmd_testrun_find_dir_html: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-dmd -v --html \ +--output-dir=tmp/program_output_dir +dmd_testrun_find_dir_epub: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-dmd -v --epub \ +--output-dir=tmp/program_output_dir +dmd_testrun_find_dir_all: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_dir +dmd_testrun_filelist_dir_source: + ./bin/sdp-dmd -v --source \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +dmd_testrun_filelist_dir_sisupod: + ./bin/sdp-dmd -v --sisupod \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +dmd_testrun_filelist_dir_html: + ./bin/sdp-dmd -v --html \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +dmd_testrun_filelist_dir_epub: + ./bin/sdp-dmd -v --epub \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +dmd_testrun_filelist_dir_all: + ./bin/sdp-dmd -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +gdc_testrun_find_dir_source: + ./bin/sdp-gdc -v --source \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +gdc_testrun_find_dir_sisupod: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-gdc -v --sisupod \ +--output-dir=tmp/program_output_dir +gdc_testrun_find_dir_html: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-gdc -v --html \ +--output-dir=tmp/program_output_dir +gdc_testrun_find_dir_epub: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-gdc -v --epub \ +--output-dir=tmp/program_output_dir +gdc_testrun_find_dir_all: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_dir +gdc_testrun_filelist_dir_source: + ./bin/sdp-gdc -v --source \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +gdc_testrun_filelist_dir_sisupod: + ./bin/sdp-gdc -v --sisupod \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +gdc_testrun_filelist_dir_html: + ./bin/sdp-gdc -v --html \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +gdc_testrun_filelist_dir_epub: + ./bin/sdp-gdc -v --epub \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +gdc_testrun_filelist_dir_all: + ./bin/sdp-gdc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +ldc_testrun_find_dir_source: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-ldc -v --source \ +--output-dir=tmp/program_output_dir +ldc_testrun_find_dir_sisupod: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-ldc -v --sisupod \ +--output-dir=tmp/program_output_dir +ldc_testrun_find_dir_html: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-ldc -v --html \ +--output-dir=tmp/program_output_dir +ldc_testrun_find_dir_epub: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-ldc -v --epub \ +--output-dir=tmp/program_output_dir +ldc_testrun_find_dir_all: + $(SiSU_MARKUP_SAMPLES_DIR_SDL_FILES_FOUND) \ +./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_dir +ldc_testrun_filelist_dir_source: + ./bin/sdp-ldc -v --source \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +ldc_testrun_filelist_dir_sisupod: + ./bin/sdp-ldc -v --sisupod \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +ldc_testrun_filelist_dir_html: + ./bin/sdp-ldc -v --html \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +ldc_testrun_filelist_dir_epub: + ./bin/sdp-ldc -v --epub \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) +ldc_testrun_filelist_dir_all: + ./bin/sdp-ldc -v --source --html --epub --sqlite-discrete \ +--sqlite-create --sqlite-update \ +--output-dir=tmp/program_output_dir \ +$(SiSU_MARKUP_SAMPLES_DIR_SDL) tangle: skel for f in $(ORGFILELIST); do \ ORGFILES="$$ORGFILES \"$$f\""; \ |