summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Expand)Author
2021-11-02Makefile: Do not distribute *.out files.•••The *.out files are generated by running ccwl workflows. They need not be distributed. * build-aux/find-dependencies.scm (find-dependencies): Return *.out files and *.scm files as different kinds of dependencies. Output *.out and *.scm files separately as DOC_OUT and DOC_SCM instead of together as DOC_OTHER. * Makefile.am (doc/ccwl.info, doc/ccwl.html): Depend on DOC_SCM and DOC_OUT instead of DOC_OTHER. (EXTRA_DIST): Remove DOT_OTHER. Add DOC_SCM. Arun Isaac
2021-11-02tests: Add input-output-parameters.cwl.•••This is a follow-up to 0b359cf2c32cde81b4311d55273c8f6c14ca6b93 where this file should have been included. * tests/input-output-parameters.cwl: New file. * Makefile.am (EXTRA_DIST): Register it. Arun Isaac
2021-11-02ccwl: Rename graphviz to dot.•••What we call "graphviz syntax" is actually the "graphviz dot language". Rename accordingly. * ccwl/graphviz.scm (workflow->graphviz): Rename to workflow->dot. Call graph->dot instead of graph->graphviz. (escape-id): Update docstring to mention dot. (graph->graphviz): Rename to graph->dot. Update docstring to mention dot. * scripts/ccwl.in (main): Accept --to=dot instead of --to=graphviz. Update --help usage information. * Makefile.am (%.dot): Pass --to=dot instead of --to=graphviz. Arun Isaac
2021-10-12Makefile: Use ccwl to generate graphviz graph.•••* Makefile.am (%.dot): Use ccwl to build %.dot from %.scm instead of cwltool to build %.dot from %.cwl. Arun Isaac
2021-10-12ccwl: Implement compiling to graphviz.•••* ccwl/yaml.scm (indent-level): Import (ccwl utils). Move to ... * ccwl/utils.scm (indent-level): ... here. Export indent-level. * ccwl/graphviz.scm: New file. * Makefile.am (SOURCES): Register it. Arun Isaac
2021-10-11ccwl: Factorize out CWL generation code to separate file.•••This factorization is required to support other compilation targets such as graphviz, bash, scheme, etc. * ccwl/cwl.scm: New file. * Makefile.am (SOURCES): Register it. * ccwl/ccwl.scm (ccwl): Export command?, command-inputs, command-outputs, command-args, command-stdin, command-other, workflow?, workflow-steps, workflow-inputs, workflow-outputs, workflow-other, input?, input-id, input-type, input-label, input-default, input-position, input-prefix, input-other, output?, output-id, output-type, output-binding, output-source, output-other, step?, step-id, step-run, step-in, step-out, unspecified-default?. (<workflow>): New type. (filter-alist): Move to cwl.scm. (make-workflow): Refactor into workflow->cwl-scm in cwl.scm. (output->cwl): Move to cwl.scm as output->cwl-scm. (command->cwl): Move to cwl.scm as command->cwl-scm. (workflow-steps): Rename to collect-steps. Clarify docstring. (workflow): Use collect-steps instead of workflow-steps. Explicitly pass empty list as other argument of make-workflow. Add TODO note to implement it properly. * scripts/ccwl.in: Import (ccwl cwl) instead of (ccwl yaml). Use workflow->cwl instead of scm->yaml. * tests/ccwl.scm ("stdin input should not have inputBinding"): Use command->cwl-scm from (ccwl cwl) instead of command->cwl from (ccwl ccwl). Arun Isaac
2021-09-29Makefile: Record dependency on build-home-page.el.•••* Makefile.am (website/index.html): Depend on build-aux/build-home-page.el. Arun Isaac
2021-08-16Makefile: Generate sample output when building documentation.•••* Makefile.am (CLEANFILES): Add doc/*.out. (CLEAN_DIRECTORIES): Add doc/cwl-output. (GENERATE_CWL_OUTPUT): New variable. (doc/capture-output-file.out, doc/capture-output-file-with-parameter-reference.out, doc/capture-stdout.out, doc/checksum.out, doc/decompress-compile-run.out, doc/hello-world.out, doc/pass-stdin.out, doc/hello.tar.out): New targets. * doc/capture-output-file-with-parameter-reference.out, doc/capture-output-file.out, doc/capture-stdout.out, doc/checksum.out, doc/decompress-compile-run.out, doc/hello-world.out, doc/hello.tar.out, doc/pass-stdin.out: Delete files. * build-aux/generate-cwl-output.sh.in, doc/hello.c.gz, doc/hello.tar, doc/hello.txt: New files. * configure.ac: Configure build-aux/generate-cwl-output.sh. * doc/ccwl.skb (Tutorial)[Passing input into the standard input stream of a command]: Replace file "foo" with "hello.txt". * .gitignore: Add build-aux/generate-cwl-output.sh, doc/*.out and doc/cwl-output. Arun Isaac
2021-08-16Makefile: Clean dot files correctly.•••* Makefile.am (CLEANFILES): Clean *.dot, not %.dot. Arun Isaac
2021-08-16Makefile: Allow tabs when editing in Emacs.•••* Makefile.am: Set indent-tabs-mode to t. Arun Isaac
2021-07-20tests: Add tests for ccwl/utils.scm.•••* tests/utils.scm: New file. * Makefile.am (SCM_TESTS): Register it. Arun Isaac
2021-07-19build-aux: Put website building code into a function.•••This will be useful when we want build-home-page.el to build both a website and a gemini capsule. * build-aux/build-home-page.el (build-website): New function. * Makefile.am (website/index.html): Call build-website. Arun Isaac
2021-07-06Makefile: Add release target.•••* Makefile.am (CURRENT_RELEASE): New variable. (release, $(CURRENT_RELEASE), %.asc): New rules. Arun Isaac
2021-07-04Makefile: Replace top_builddir with builddir.•••Since we only have a top-level Makefile, top_builddir and builddir are the same. Use builddir in the interest of brevity. * Makefile.am (%.go, SCM_LOG_DRIVER, doc/ccwl.info, doc/ccwl.html): Replace top_builddire with builddir. Arun Isaac
2021-07-04Makefile: Pass image path to skribilo.•••* Makefile.am (SKRIBILO_FLAGS): Add --image-path=$(builddir). Arun Isaac
2021-07-04doc: Use PNG images instead of SVG.•••PNG images are supported by both the info and html engines. * doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Use PNG images instead of SVG. * Makefile.am (CLEANFILES): Replace doc/*.svg with doc/*.png. (%.svg): Delete rule. (%.png): New rule. * .gitignore: Replace doc/*.svg with doc/*.png. Arun Isaac
2021-07-04Makefile: Pass source path to skribilo.•••* Makefile.am (SKRIBILO_FLAGS): New variable. (doc/ccwl.info, doc/ccwl.html): Pass $(SKRIBILO_FLAGS) to skribilo. Arun Isaac
2021-07-04Makefile: Distribute documentation.•••* Makefile.am (EXTRA_DIST): Add doc/skribilo.scm, doc/ccwl.skb, $(DOC_OTHER). Arun Isaac
2021-07-04Makefile: Include .depends with automake.•••* bootstrap.sh: Generate .depends. * Makefile.am: Include .depends with automake, not with make. (.depends): Delete rule. (doc/ccwl.html, doc/ccwl.info): Use DOC_OTHER instead of DOC_OTHER_DEPENDENCIES. (CLEANFILES): Remove .depends. * build-aux/find-dependencies.scm: Output DOC_OTHER instead of DOC_OTHER_DEPENDENCIES. _DEPENDENCIES variables are special in automake. Arun Isaac
2021-07-04Makefile: Clean only directories in clean-local.•••* Makefile.am (CLEANFILES): Add .depends, website/index.html. (CLEAN_DIRECTORIES): Add doc/ccwl.html, website/manual. (clean-local): Delete $(CLEAN_DIRECTORIES) only. Arun Isaac
2021-07-04Makefile: Build skribilo documentation in-place.•••* Makefile.am (SKRIBILO_BUILD_DIR): Delete variable. (CLEANFILES): Add doc/*.cwl, doc/*.dot, doc/*.svg, doc/ccwl.info, doc/skribilo.go. ($(SKRIBILO_BUILD_DIR)/%.cwl): Rename to %.cwl. (info-local, install-info-local): Depend on doc/ccwl.info instead of $(SKRIBILO_BUILD_DIR)/ccwl.info. (html-local, install-html-local, website/manual/dev/en): Depend on doc/ccwl.html instead of $(SKRIBILO_BUILD_DIR)/ccwl.html. ($(SKRIBILO_BUILD_DIR)/ccwl.info): Rename to doc/ccwl.info. ($(SKRIBILO_BUILD_DIR)/ccwl.html): Rename to doc/ccwl.html. (clean-local): Do not delete doc/skribilo.go and $(SKRIBILO_BUILD_DIR). * .gitignore: Add doc/*.cwl, doc/*.html, doc/*.info, doc/*.svg. Remove doc/skribilo. * doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Reference images in the doc directory instead of in the doc/skribilo directory. Arun Isaac
2021-07-04Makefile: List files in a single line.•••There are so few that it makes no sense to list them one on a line. * Makefile.am (SOURCES, SCM_TESTS): List files in a single line. Arun Isaac
2021-07-04Makefile: Do not create website directory.•••The website directory is checked into the git repository and need not be created. * Makefile.am (website/index.html): Do not create website directory. Arun Isaac
2021-07-04Makefile: Add prefix variables for silencing commands.•••* Makefile.am (CCWL_GEN*, CWLTOOL_GEN*, DOT_GEN*, EMACS_GEN*, GUILD_GEN*, SKRIBILO_GEN*): New variables. (%.go): Prefix with GUILD_GEN instead of AM_V_GEN. ($(SKRIBILO_BUILD_DIR)/%.cwl): Prefix with CCWL_GEN instead of AM_V_GEN. (%.dot): Prefix with CWLTOOL_GEN instead of AM_V_GEN. (%.svg): Prefix with DOT_GEN. ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Prefix with SKRIBILO_GEN instead of AM_V_GEN. (website/index.html): Prefix with EMACS_GEN. Arun Isaac
2021-07-03doc: Move skribilo configuration into doc directory.•••* ccwl/skribilo.scm: Move to ... * doc/skribilo.scm: ... here. * doc/ccwl.skb: Import (doc skribilo) instead of (ccwl skribilo). * Makefile.am ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on doc/skribilo.go instead of ccwl/skribilo.go. * Makefile.am (clean-local): Delete doc/skribilo.go instead of ccwl/skribilo.go. Arun Isaac
2021-07-03Makefile: Build skribilo configuration before documentation.•••* Makefile.am ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on ccwl/skribilo.go instead of ccwl/skribilo.scm. * Makefile.am (clean-local): Delete ccwl/skribilo.go. Arun Isaac
2021-07-03Makefile: Comment on -local targets.•••* Makefile.am: Comment on use of install-data-local, install-info-local, install-html-local and uninstall-local targets. Arun Isaac
2021-07-02Makefile: Track dependencies automatically.•••* build-aux/find-dependencies.scm: New file. * Makefile.am (DOC_IMAGES): Delete variable. (.depends): New target. Include it in the Makefile. ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on DOC_OTHER_DEPENDENCIES. (clean-local): Delete .depends. * .gitignore: Add .depends. Arun Isaac
2021-06-28Makefile: Clean entire website manual directory.•••* Makefile.am (clean-local): Delete entire website manual directory. (website/manual/dev/en): Create directory before copying files. Arun Isaac
2021-06-28doc: Add workflow graphs.•••* Makefile.am (DOC_IMAGES): Add checksum.svg and decompres-compile-run.svg. * doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Add workflow graphs checksum.svg and decompres-compile-run.svg. Arun Isaac
2021-06-28Makefile: Build workflow images.•••* configure.ac: Search for cwltool, dot and sed. * Makefile.am (DOC_IMAGES): New variable. ($(SKRIBILO_BUILD_DIR)/%.cwl, %.dot, %.svg): New rules. ($(SKRIBILO_BUILD_DIR)/ccwl.info): Depend on $(DOC_IMAGES). ($(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on $(DOC_IMAGES). Build HTML into a directory. Copy $(DOC_IMAGES) into that directory. Arun Isaac
2021-06-19Makefile: Let info and html targets depend on skribilo config.•••* Makefile.am ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on skribilo config ccwl/skribilo.scm. Arun Isaac
2021-06-19configure: Search for emacs.•••* configure.ac: Search for emacs. * Makefile.am: Use EMACS set by configure. Arun Isaac
2021-06-19Makefile: Use MKDIR_P instead of `mkdir -p'.•••* Makefile.am (website/index.html): Use MKDIR_P instead of `mkdir -p'. Arun Isaac
2021-06-19Makefile: Delete manual directory before rebuilding.•••* Makefile.am (website/manual/dev/en): Delete directory before rebuilding. Arun Isaac
2021-06-19website: Move CSS into the website directory.•••That way, there is no need to copy it when building the website. * Makefile.am (website/style.css): Delete target. (website): Do not depend on the website/style.css target. (clean-local): Clean up only website/index.html and website/manual/dev/en, not the entire website directory. * style.css: Move to website/style.css. Arun Isaac
2021-06-15doc: Move documentation from texinfo to skribilo.•••* doc/ccwl.texi: Delete file. * ccwl/skribilo.scm, doc/ccwl.skb, doc/capture-output-file-with-parameter-reference.out, doc/capture-output-file-with-parameter-reference.scm, doc/capture-output-file.out, doc/capture-output-file.scm, doc/capture-stdout.out, doc/capture-stdout.scm, doc/checksum.out, doc/checksum.scm, doc/decompress-compile-run.out, doc/decompress-compile-run.scm, doc/hello-world.out, doc/hello-world.scm, doc/hello.tar.out: New files. * configure.ac: Check for skribilo. * Makefile.am: Unregister doc/ccwl.texi. Add documentation build rules. * guix.scm (ccwl)[native-inputs]: Replace texinfo with skribilo. * .gitignore: Add doc/skribilo. Remove doc/version.texi, doc/*.html, doc/*.info. Arun Isaac
2021-05-24Add HTML manual to website.•••* Makefile.am (website/manual/dev/en): New target. (website): Require website/manual/dev/en. (AM_MAKEINFOHTMLFLAGS): Add --css-ref=/style.css to include CSS. Arun Isaac
2021-05-24Add CSS to website.•••* Makefile.am (website/style.css): New target. (website): Require website/style.css. * style.css: New file. Arun Isaac
2021-05-24Build website from README.org.•••* Makefile.am (website, website/index.html, clean-local): New targets. * build-aux/build-home-page.el: New file. Arun Isaac
2021-05-24Replace suffix rule with pattern rule.•••Suffix rules are deprecated and should not be used. Pattern rules are clearer and more general. * Makefile.am: Replace suffix rule to build scheme files with pattern rule. Arun Isaac
2021-05-24Install ccwl script.•••* Makefile.am (bin_SCRIPTS): Add scripts/ccwl. Arun Isaac
2021-05-23Add manual.•••* doc/ccwl.texi: New file. * Makefile.am (bin_SCRIPTS): Add doc/ccwl.texi. Arun Isaac
2021-04-26Run tests in autotools build system.•••* build-aux/test-driver.scm.in: New file. * configure.ac: Generate build-aux/test-driver.scm. * Makefile.am (TEST_EXTENSIONS): Add .scm. (SCM_TESTS): Add tests/ccwl.scm and tests/yaml.scm. (TESTS): Set to SCM_TESTS. (EXTRA_DIST): Distribute test files. Arun Isaac
2021-04-26Add autotools build system.•••* Makefile.am, bootstrap.sh, configure.ac, pre-inst-env.in: New files. Arun Isaac