diff options
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | build-aux/find-dependencies.scm | 16 |
2 files changed, 14 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am index 888ae98..99d83c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,7 +88,7 @@ EXTRA_DIST += \ tests/input-output-parameters.cwl \ doc/skribilo.scm \ doc/ccwl.skb \ - $(DOC_OTHER) \ + $(DOC_SCM) \ COPYING \ README.org @@ -146,10 +146,10 @@ SKRIBILO_FLAGS = --source-path=$(srcdir) --image-path=$(builddir) CLEANFILES += doc/ccwl.info doc/skribilo.go CLEAN_DIRECTORIES += doc/ccwl.html -doc/ccwl.info: doc/ccwl.skb doc/skribilo.go $(DOC_IMAGES) $(DOC_OTHER) +doc/ccwl.info: doc/ccwl.skb doc/skribilo.go $(DOC_IMAGES) $(DOC_SCM) $(DOC_OUT) $(SKRIBILO_GEN)$(builddir)/pre-inst-env $(SKRIBILO) $(SKRIBILO_FLAGS) -t info $< -o $@ -doc/ccwl.html: doc/ccwl.skb doc/skribilo.go $(DOC_IMAGES) $(DOC_OTHER) +doc/ccwl.html: doc/ccwl.skb doc/skribilo.go $(DOC_IMAGES) $(DOC_SCM) $(DOC_OUT) rm -rf $@ $(MKDIR_P) $@ $(SKRIBILO_GEN)$(builddir)/pre-inst-env $(SKRIBILO) $(SKRIBILO_FLAGS) -t html $< -o $@/index.html diff --git a/build-aux/find-dependencies.scm b/build-aux/find-dependencies.scm index 5ced7fb..4cd20c5 100644 --- a/build-aux/find-dependencies.scm +++ b/build-aux/find-dependencies.scm @@ -50,12 +50,12 @@ dependency is of the form (tag . file). tag may either be the symbol args)) (('source args ...) (apply (lambda* (#:key file #:allow-other-keys) - `((other . ,file))) + `((out . ,file))) args)) (('scheme-source file) - `((other . ,file))) + `((scm . ,file))) (('source-ref file _ ...) - `((other . ,file))) + `((scm . ,file))) ((elements ...) (append-map find-dependencies elements)) (atom '()))) @@ -69,9 +69,15 @@ dependency is of the form (tag . file). tag may either be the symbol (_ #f)) dependencies) " ")) - (format #t "DOC_OTHER = ~a~%" + (format #t "DOC_SCM = ~a~%" (string-join (filter-map (match-lambda - (('other . file) file) + (('scm . file) file) + (_ #f)) + dependencies) + " ")) + (format #t "DOC_OUT = ~a~%" + (string-join (filter-map (match-lambda + (('out . file) file) (_ #f)) dependencies) " "))) |