Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-10-19 10:13:37 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-10-19 10:15:14 -0400
commit9cce2b15421068c563e8ea3ab2ec777f0c6b6512 (patch)
tree742333e38dfac061b8fd411870fac8c749a9591b /build-aux
parent8fa7d9ece6c546595a0f2f2ea4c79c6688c2fa0c (diff)
downloadtame-9cce2b15421068c563e8ea3ab2ec777f0c6b6512.tar.gz
tame-9cce2b15421068c563e8ea3ab2ec777f0c6b6512.tar.bz2
tame-9cce2b15421068c563e8ea3ab2ec777f0c6b6512.zip
build-aux/Makefile.am: Recognize all fragments as dependencies of program.expanded.xml
* build-aux/Makefile.am (program_fragments): New variable. (ui/program.expanded.xml): Add program_fragments as dependencies.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am
index 782cfae..91ef736 100644
--- a/build-aux/Makefile.am
+++ b/build-aux/Makefile.am
@@ -56,6 +56,12 @@ dest_c1map := $(patsubst \
$(path_c1map)/%.php, \
$(src_c1map))
+program_fragments=$(shell \
+ find $(path_ui)/program/ -name '*.xml' 2>/dev/null \
+ | tr '\n' ' ' \
+ | LC_ALL=C sort \
+)
+
compiled_suppliers := $(src_suppliers:.xml=.xmlo)
linked_suppliers := $(src_suppliers:.xml=.xmle)
@@ -139,7 +145,7 @@ version: .version.xml
.version.xml: FORCE
git log HEAD^.. -1 --pretty=format:'<version>%h</version>' > .version.xml
-ui/program.expanded.xml: ui/program.xml
+ui/program.expanded.xml: ui/program.xml $(program_fragments)
$(TAME) progui-expand $< $@
ui/Program.js: ui/program.expanded.xml ui/package.js
$(TAME) progui-class $< $@ include-path=../../../ui/