Skip to content

Commit

Permalink
Makefile caches build dependencies to speed up dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mjakubicek committed Aug 16, 2023
1 parent 49c4e76 commit 57064af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dmlex-v1.0/specification/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include Makefile.dep

html: dmlex-v1.0-wd01.html

pdf: dmlex-v1.0-wd01.pdf
Expand All @@ -11,5 +13,9 @@ dmlex-v1.0-wd01.fo: dmlex-v1.0-wd01.xml
dmlex-v1.0-wd01.html: dmlex-v1.0-wd01.xml
xsltproc --xinclude -o $@ stylesheets/oasis-specification-html.xsl $<

dmlex-v1.0-wd01.xml: dmlex.xml $(shell ./makedep.sh)
dmlex-v1.0-wd01.xml: dmlex.xml $(SOURCE_XML)
./merge.sh

Makefile.dep: dmlex.xml $(SOURCE_XML) makedep.sh
echo -n "SOURCE_XML=" > $@
./makedep.sh >> $@

0 comments on commit 57064af

Please sign in to comment.