From 844c6512c90b552ea933bcebe85fcc10ab850d69 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 5 Jul 2018 16:05:44 -0400 Subject: build-aux/gen-c1make: New build script This solves the dependency-related problems with rebuilding c1map files. * build-aux/gen-c1make: New file. * build-aux/Makefile.2.in (suppliers.mk): Use it. --- build-aux/Makefile.2.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'build-aux/Makefile.2.in') diff --git a/build-aux/Makefile.2.in b/build-aux/Makefile.2.in index 10f17a0..5618833 100644 --- a/build-aux/Makefile.2.in +++ b/build-aux/Makefile.2.in @@ -117,11 +117,8 @@ standalones: $(dest_standalone) @echo "standalone $< $@" >>.cqueue @touch $@ -# C1 XML +# C1 XML (specific recipes are in suppliers.mk) c1map: $(dest_c1map) -%.php: %.xml - @echo "c1map $< $@" >>.cqueue - @touch $@ %.dot: %.xmlo @echo "dot $< $@" >> .cqueue @@ -204,7 +201,8 @@ suppliers.mk: && echo "rm $$(patsubst %.xmlo,%.tmp,$$@)" >> .cqueue \ && touch $$@ \ && touch -d +1sec $$(patsubst %.xmlo,%.tmp,$$@) >> .cqueue' \ - ./rater/tools/gen-make common/ $(path_suppliers)/ $(path_dsl)/ $(path_map)/ $(path_ui)/ >$@ + ./rater/tame/build-aux/gen-make common/ $(path_suppliers)/ $(path_dsl)/ $(path_map)/ $(path_ui)/ >$@ \ + && ./rater/tame/build-aux/gen-c1make $(path_c1map)/*.xml >>$@ me-a-sandwich: @test $$EUID -eq 0 \ -- cgit v1.2.1