Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-10-11 23:50:53 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-10-11 23:50:53 -0400
commit5679be281ae7fcf1abbbcab10ca5c9b235e353e3 (patch)
treeb064a0c6bf63bd04ea6cc97a82de3c655667147e
parentf44d89d4d2083e920435359c70ac4151b49ccca2 (diff)
downloadtame-3.3.2.tar.gz
tame-3.3.2.tar.bz2
tame-3.3.2.zip
Makefile.am: Correct build intermediates and target dependenciesv3.3.2
* Makefile.am (.SECONDARY): Keep all intermediate files. (%.html): Add `%.xmle' dependency. (lvroot): Add program-ui and c1map dependencies.
-rw-r--r--build-aux/Makefile.am12
1 files changed, 5 insertions, 7 deletions
diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am
index 73555ba..38a4d03 100644
--- a/build-aux/Makefile.am
+++ b/build-aux/Makefile.am
@@ -68,12 +68,10 @@ default: program-ui c1map FORCE
.DELETE_ON_ERROR:
.NOTPARALLEL:
-SHELL = /bin/bash -O extglob
+# keep all intermediate files for easy introspection
+.SECONDARY:
-# these files will never be deleted when Make considers them to be intermediate
-# (e.g. when building summary pages), since they are still needed or take a
-# while to build
-.SECONDARY: %.js %.xml %.xmle %.xmlo
+SHELL = /bin/bash -O extglob
all: program-data-copy
@@ -86,7 +84,7 @@ include $()suppliers.mk
summary-html: $(dest_summary_html) ;
-%.html: %.js
+%.html: %.js %.xmle
$(TAME) summary $*.xmle $@
standalones: $(dest_standalone)
@@ -206,7 +204,7 @@ program-data-copy: standalones program-ui c1map .version.xml
ant -f "$(path_lv)/build.xml" js-mod-order
# TODO: merge this and the above
-lvroot: summary-html
+lvroot: summary-html program-ui c1map
mkdir -p "$(path_lvroot)/src/node/program/rater/programs/@program@"
mkdir -p "$(path_lvroot)/src/node/program/classify"
mkdir -p "$(path_lvroot)/src/node/program/ui/custom"