Makefile.am: Correct build intermediates and target dependencies

* Makefile.am (.SECONDARY): Keep all intermediate files.
  (%.html): Add `%.xmle' dependency.
  (lvroot): Add program-ui and c1map dependencies.
master v3.3.2
Mike Gerwitz 2018-10-11 23:50:53 -04:00
parent f44d89d4d2
commit 5679be281a
1 changed files with 5 additions and 7 deletions

View File

@ -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"