Makefile.am: Add common target

* src/build-aux/Makefile.am (common): New target.
master
Mike Gerwitz 2018-12-18 16:40:35 -05:00
parent c7e84f2e29
commit 4105dc8fef
1 changed files with 9 additions and 1 deletions

View File

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