summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/nxml-libvirt-schemas/files/Makefile-trang')
-rw-r--r--app-emacs/nxml-libvirt-schemas/files/Makefile-trang6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-emacs/nxml-libvirt-schemas/files/Makefile-trang b/app-emacs/nxml-libvirt-schemas/files/Makefile-trang
new file mode 100644
index 000000000000..699cf676ff45
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/files/Makefile-trang
@@ -0,0 +1,6 @@
+# -*- makefile -*-
+
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+
+%.rnc: %.rng
+ trang -I rng -O rnc $< $@