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
parent
f44d89d4d2
commit
5679be281a
|
@ -68,12 +68,10 @@ default: program-ui c1map FORCE
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
.NOTPARALLEL:
|
.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
|
SHELL = /bin/bash -O extglob
|
||||||
# (e.g. when building summary pages), since they are still needed or take a
|
|
||||||
# while to build
|
|
||||||
.SECONDARY: %.js %.xml %.xmle %.xmlo
|
|
||||||
|
|
||||||
all: program-data-copy
|
all: program-data-copy
|
||||||
|
|
||||||
|
@ -86,7 +84,7 @@ include $()suppliers.mk
|
||||||
|
|
||||||
summary-html: $(dest_summary_html) ;
|
summary-html: $(dest_summary_html) ;
|
||||||
|
|
||||||
%.html: %.js
|
%.html: %.js %.xmle
|
||||||
$(TAME) summary $*.xmle $@
|
$(TAME) summary $*.xmle $@
|
||||||
|
|
||||||
standalones: $(dest_standalone)
|
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
|
ant -f "$(path_lv)/build.xml" js-mod-order
|
||||||
|
|
||||||
# TODO: merge this and the above
|
# 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/rater/programs/@program@"
|
||||||
mkdir -p "$(path_lvroot)/src/node/program/classify"
|
mkdir -p "$(path_lvroot)/src/node/program/classify"
|
||||||
mkdir -p "$(path_lvroot)/src/node/program/ui/custom"
|
mkdir -p "$(path_lvroot)/src/node/program/ui/custom"
|
||||||
|
|
Loading…
Reference in New Issue