Skip to content

Commit d5221ff

Browse files
mnotmartinthomson
authored andcommitted
Bring rfc2629-no-doctype.xslt into lib
Fixes #235
1 parent e93d60d commit d5221ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,16 @@ ifeq (true,$(USE_XSLT))
9393
$(LIBDIR)/rfc2629.xslt: $(XSLTDIR)/rfc2629.xslt
9494
$(xsltproc) $(XSLTDIR)/to-1.0-xslt.xslt $< > $@
9595

96-
$(LIBDIR)/clean-for-DTD.xslt: $(LIBDIR)/rfc2629xslt/clean-for-DTD.xslt
96+
$(LIBDIR)/clean-for-DTD.xslt: $(LIBDIR)/rfc2629xslt/clean-for-DTD.xslt $(LIBDIR)/rfc2629-no-doctype.xslt
9797
$(xsltproc) $(XSLTDIR)/to-1.0-xslt.xslt $< > $@
9898

9999
$(XSLTDIR)/clean-for-DTD.xslt $(XSLTDIR)/rfc2629.xslt: $(XSLTDIR)
100100
$(XSLTDIR):
101101
git clone --depth 10 $(CLONE_ARGS) -b master https://github.com/reschke/xml2rfc $@
102102

103+
$(LIBDIR)/rfc2629-no-doctype.xslt: $(LIBDIR)/rfc2629xslt/rfc2629-no-doctype.xslt
104+
$(xsltproc) $(XSLTDIR)/to-1.0-xslt.xslt $< > $@
105+
103106
%.cleanxml: %.xml $(LIBDIR)/clean-for-DTD.xslt $(LIBDIR)/rfc2629.xslt
104107
$(xsltproc) --novalid $(LIBDIR)/clean-for-DTD.xslt $< > $@
105108

0 commit comments

Comments
 (0)