mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 04:02:20 -05:00
Merge branch 'feature/output-xmldeps'
This commit is contained in:
commit
d19cd8d896
10
Makefile
10
Makefile
@ -26,6 +26,7 @@ all_xeps=$(xeps) $(proto_xeps)
|
|||||||
xep_xmls=$(patsubst %.xml,$(OUTDIR)/%.xml,$(xeps))
|
xep_xmls=$(patsubst %.xml,$(OUTDIR)/%.xml,$(xeps))
|
||||||
proto_xep_xmls=$(patsubst %.xml,$(OUTDIR)/%.xml,$(proto_xeps))
|
proto_xep_xmls=$(patsubst %.xml,$(OUTDIR)/%.xml,$(proto_xeps))
|
||||||
all_xep_xmls=$(xep_xmls) $(proto_xep_xmls)
|
all_xep_xmls=$(xep_xmls) $(proto_xep_xmls)
|
||||||
|
xep_ancillary=$(patsubst %,$(OUTDIR)/%,xep.xsl)
|
||||||
|
|
||||||
xep_htmls=$(patsubst %.xml,$(OUTDIR)/%.html,$(xeps))
|
xep_htmls=$(patsubst %.xml,$(OUTDIR)/%.html,$(xeps))
|
||||||
proto_xep_htmls=$(patsubst %.xml,$(OUTDIR)/%.html,$(proto_xeps))
|
proto_xep_htmls=$(patsubst %.xml,$(OUTDIR)/%.html,$(proto_xeps))
|
||||||
@ -64,13 +65,13 @@ xeplist: $(OUTDIR)/xeplist.xml
|
|||||||
html: $(xep_htmls)
|
html: $(xep_htmls)
|
||||||
|
|
||||||
.PHONY: xml
|
.PHONY: xml
|
||||||
xml: $(xep_xmls)
|
xml: $(xep_xmls) $(xep_ancillary)
|
||||||
|
|
||||||
.PHONY: inbox-html
|
.PHONY: inbox-html
|
||||||
inbox-html: $(proto_xep_htmls)
|
inbox-html: $(proto_xep_htmls)
|
||||||
|
|
||||||
.PHONY: inbox-xml
|
.PHONY: inbox-xml
|
||||||
inbox-xml: $(proto_xep_xmls)
|
inbox-xml: $(OUTDIR)/inbox $(proto_xep_xmls)
|
||||||
|
|
||||||
.PHONY: pdf
|
.PHONY: pdf
|
||||||
pdf: $(xep_pdfs)
|
pdf: $(xep_pdfs)
|
||||||
@ -90,7 +91,10 @@ xep-%.html: $(OUTDIR)/xep-%.html ;
|
|||||||
.PHONY: xep-%.pdf
|
.PHONY: xep-%.pdf
|
||||||
xep-%.pdf: $(OUTDIR)/xep-%.pdf ;
|
xep-%.pdf: $(OUTDIR)/xep-%.pdf ;
|
||||||
|
|
||||||
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml
|
$(all_xep_xmls): $(OUTDIR)/%.xml: %.xml $(XMLDEPS)
|
||||||
|
xmllint --nonet --noent --loaddtd --dropdtd $< --output $@
|
||||||
|
|
||||||
|
$(OUTDIR)/xep.xsl: xep.xsl $(OUTDIR)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
$(OUTDIR)/xeplist.xml: $(wildcard *.xml) $(wildcard inbox/*.xml)
|
$(OUTDIR)/xeplist.xml: $(wildcard *.xml) $(wildcard inbox/*.xml)
|
||||||
|
2
xep.xsl
2
xep.xsl
@ -34,7 +34,7 @@ OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
|
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
|
||||||
|
|
||||||
<xsl:output doctype-public='-//W3C//DTD XHTML 1.0 Transitional//EN' doctype-system='http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd' method='xml'/>
|
<xsl:output doctype-public='-//W3C//DTD XHTML 1.0 Transitional//EN' doctype-system='http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd' method='html'/>
|
||||||
|
|
||||||
<xsl:template name="status-notice">
|
<xsl:template name="status-notice">
|
||||||
<xsl:param name="thestatus"/>
|
<xsl:param name="thestatus"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user