mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
make xml: Include XEP XSL in output
This is referenced by XML files so should be included
This commit is contained in:
parent
5d2ef942f4
commit
d60b6a03ba
8
Makefile
8
Makefile
@ -26,6 +26,7 @@ all_xeps=$(xeps) $(proto_xeps)
|
||||
xep_xmls=$(patsubst %.xml,$(OUTDIR)/%.xml,$(xeps))
|
||||
proto_xep_xmls=$(patsubst %.xml,$(OUTDIR)/%.xml,$(proto_xeps))
|
||||
all_xep_xmls=$(xep_xmls) $(proto_xep_xmls)
|
||||
xep_ancillary=$(patsubst %,$(OUTDIR)/%,xep.xsl)
|
||||
|
||||
xep_htmls=$(patsubst %.xml,$(OUTDIR)/%.html,$(xeps))
|
||||
proto_xep_htmls=$(patsubst %.xml,$(OUTDIR)/%.html,$(proto_xeps))
|
||||
@ -64,7 +65,7 @@ xeplist: $(OUTDIR)/xeplist.xml
|
||||
html: $(xep_htmls)
|
||||
|
||||
.PHONY: xml
|
||||
xml: $(xep_xmls)
|
||||
xml: $(xep_xmls) $(xep_ancillary)
|
||||
|
||||
.PHONY: inbox-html
|
||||
inbox-html: $(proto_xep_htmls)
|
||||
@ -90,7 +91,10 @@ xep-%.html: $(OUTDIR)/xep-%.html ;
|
||||
.PHONY: xep-%.pdf
|
||||
xep-%.pdf: $(OUTDIR)/xep-%.pdf ;
|
||||
|
||||
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml
|
||||
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml $(OUTDIR)
|
||||
cp $< $@
|
||||
|
||||
$(OUTDIR)/xep.xsl: xep.xsl $(OUTDIR)
|
||||
cp $< $@
|
||||
|
||||
$(OUTDIR)/xeplist.xml: $(wildcard *.xml) $(wildcard inbox/*.xml)
|
||||
|
Loading…
Reference in New Issue
Block a user