summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/schema/rng/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/stex/schema/rng/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rng/Makefile b/Master/texmf-dist/source/latex/stex/schema/rng/Makefile
new file mode 100644
index 00000000000..051561e50af
--- /dev/null
+++ b/Master/texmf-dist/source/latex/stex/schema/rng/Makefile
@@ -0,0 +1,23 @@
+RNCDIR = ../rnc
+BUT.rnc =
+OMDOC.rnc = $(shell ls $(RNCDIR)/omdoc/*rnc)
+LATEXML.rnc = $(shell ls $(RNCDIR)/LaTeXML/*rnc)
+SRC.rnc = $(RNCDIR)/omdoc+ltxml.rnc #$(filter-out $(BUT.rnc), $(shell ls $(RNCDIR)/*.rnc))
+SRC.rng = $(SRC.rnc:%.rnc=%.rng)
+
+all: $(SRC.rng) #$(TARGET.xsd)
+
+clean:
+ rm -f *~
+distclean: clean
+
+# for the moment we do not install
+# install: $(SRC.rnc) $(SRC.rng)
+# cp $(SRC.rnc) $(SRC.rng) $(HOME)/vc/svn/omdoc.org/www/rnc
+
+test:
+
+$(SRC.rng): %.rng: %.rnc $(OMDOC.rnc) $(LATEXML.rnc)
+# rnc2rng $< $@
+ trang -I rnc -O rng $< $@
+ mv ../rnc/*.rng .