aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorArun Isaac2021-11-02 02:12:00 +0530
committerArun Isaac2021-11-02 02:14:29 +0530
commit8f2b8395367e67aeaf60bf00e47f3421073e3fa3 (patch)
treefe72743ffd2cd3bf8903272014cd7a17140674bf /build-aux
parent0f1167d8fa95874d952f44492ed851a031ed8a8c (diff)
downloadccwl-8f2b8395367e67aeaf60bf00e47f3421073e3fa3.tar.gz
ccwl-8f2b8395367e67aeaf60bf00e47f3421073e3fa3.tar.lz
ccwl-8f2b8395367e67aeaf60bf00e47f3421073e3fa3.zip
Makefile: 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.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/find-dependencies.scm16
1 files changed, 11 insertions, 5 deletions
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)
" ")))