comps Makefile,1.9,1.10
Will Woods
wwoods at fedoraproject.org
Wed Sep 10 20:24:40 UTC 2008
Author: wwoods
Update of /cvs/pkgs/comps
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16527
Modified Files:
Makefile
Log Message:
Add validate target. ex:make validate FILES=comps-f10.xml.in
Index: Makefile
===================================================================
RCS file: /cvs/pkgs/comps/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile 13 Jun 2008 02:08:28 -0000 1.9
+++ Makefile 10 Sep 2008 20:24:08 -0000 1.10
@@ -9,6 +9,9 @@
clean:
@rm -fv *~ *.xml
+validate: $(FILES) comps.rng
+ for f in $(FILES); do xmllint --noout --relaxng comps.rng $$f; done
+
%.xml: %.xml.in
@python -c 'import libxml2; libxml2.parseFile("$<")'
@if test ".$(CLEANUP)" == .yes; then xsltproc --novalid -o $< comps-cleanup.xsl $<; fi
More information about the fedora-extras-commits
mailing list