diff options
author | Joseph Frazer <joseph.frazer@ryansg.com> | 2020-04-07 14:29:12 -0400 |
---|---|---|
committer | Joseph Frazer <joseph.frazer@ryansg.com> | 2020-04-08 08:27:47 -0400 |
commit | f6bf0425050e512ff48b53c7ab15f21aae4528e2 (patch) | |
tree | 82491f97f38e80e201966ccdd3c3517579b40320 /build-aux | |
parent | 587241bf9b1e390b28935b80f969d953d8e1bafe (diff) | |
download | tame-f6bf0425050e512ff48b53c7ab15f21aae4528e2.tar.gz tame-f6bf0425050e512ff48b53c7ab15f21aae4528e2.tar.bz2 tame-f6bf0425050e512ff48b53c7ab15f21aae4528e2.zip |
[DEV-7136] Add xmli files
Add a new step to the build process that copies the `xml` file to an
`xmli` file. Eventually, the new compiler will create the `xmli` file
and the old compiler will convert it to an `amle` file during the
transition.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am index ba9256e..7e93e5e 100644 --- a/build-aux/Makefile.am +++ b/build-aux/Makefile.am @@ -113,8 +113,12 @@ common: $(xmlo_common) program-ui: ui/package.strip.js ui/Program.js ui/html/index.phtml +# Handle an intermediate step as we transition to the new compiler +%.xmli: %.xml + cp $< $@ + # Individual dependencies appear in suppliers.mk (see below) -%.xmlo: %.xml $(path_tame)/.rev-xmlo +%.xmlo: %.xmli $(path_tame)/.rev-xmlo $(TAME_TS) $(TAME) compile $< $@ @@ -207,6 +211,7 @@ clean: find -L $(path_suppliers) $(path_map) $(path_c1map) common/ rater/core rater/lv \( \ -name '*.xmlo' \ -o -name '*.xmle' \ + -o -name '*.xmli' \ -o -name '*.js' \ -o -name '*.html' \ -o -name '*.dep' \ |