diff options
author | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2018-12-18 16:40:35 -0500 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2018-12-18 16:40:35 -0500 |
commit | 4105dc8fef9894eed8130d5f912713dc47c1e1ae (patch) | |
tree | 4facdfef8326c92e7baff03cec32886e47204803 /build-aux | |
parent | c7e84f2e295c6be683b8a0efcde00d1c1060b8c3 (diff) | |
download | tame-4105dc8fef9894eed8130d5f912713dc47c1e1ae.tar.gz tame-4105dc8fef9894eed8130d5f912713dc47c1e1ae.tar.bz2 tame-4105dc8fef9894eed8130d5f912713dc47c1e1ae.zip |
Makefile.am: Add common target
* src/build-aux/Makefile.am (common): New target.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am index 0a155fb..e87717f 100644 --- a/build-aux/Makefile.am +++ b/build-aux/Makefile.am @@ -30,12 +30,16 @@ path_lv := lovullo path_srv := srv path_lvroot := lvroot path_c1root := c1root +path_common := common path_intralov_root := "intralov-root/@program@" src_suppliers := $(wildcard $(path_suppliers)/*.xml) src_map := $(wildcard $(path_map)/*.xml) src_c1map := $(wildcard $(path_c1map)/*.xml) +src_common := $(shell find $(path_common) -name '*.xml') +xmlo_common := $(patsubst %.xml, %.xmlo, $(src_common)) + dest_summary_html := $(patsubst \ $(path_suppliers)/%.xml, \ $(path_suppliers)/%.html, \ @@ -72,7 +76,7 @@ extless_supp_delim := $(subst .xml,,$(subst .xml ,$(comma),$(src_suppliers))) ant = @ANT@ -e .PHONY: FORCE default program-data-copy lvroot c1root program-ui-immediate test \ - default clean interp-rate-tables summary-html c1map standalones \ + default clean interp-rate-tables summary-html c1map standalones common \ strip program-ui version FORCE default: program-ui c1map FORCE @@ -94,6 +98,10 @@ export TAMED_SPAWNER_PID all: program-data-copy +# Building all common files is useful in a distributed pipeline so that +# suppliers can be concurrently built without rebuilding common dependencies +common: $(xmlo_common) + program-ui: standalones ui/package.strip.js ui/Program.js program-ui-immediate program-ui-immediate: ui/html/index.phtml |