hal/fdi/policy/10osvendor Makefile.am,1.6,1.7

David Zeuthen david at freedesktop.org
Mon Dec 12 08:10:00 PST 2005


Update of /cvs/hal/hal/fdi/policy/10osvendor
In directory gabe:/tmp/cvs-serv16750/fdi/policy/10osvendor

Modified Files:
	Makefile.am 
Log Message:
2005-12-12  David Zeuthen  <david at fubar.dk>

        Patch from Artem Kachitchkine <Artem.Kachitchkin at Sun.COM>.

        * fdi/fdi.dtd: I tried to validate fdi files using fdi.dtd and got
        a whole lot of errors. Looks like DTD is out of date. This patch
        updates the DTD and adds fdi validation to 'make check'. I'm not
        an XML expert, please review carefully.

        * fdi/preprobe/10osvendor/Makefile.am,
        fdi/policy/10osvendor/Makefile.am,
        fdi/information/10freedesktop/Makefile.am: Add xmllint to the
        check target



Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/fdi/policy/10osvendor/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile.am	9 Dec 2005 05:50:54 -0000	1.6
+++ Makefile.am	12 Dec 2005 16:09:58 -0000	1.7
@@ -16,5 +16,8 @@
 dist_fdi_DATA += 90-fstab-sync.fdi
 endif
 
+check:
+	xmllint --noout --dtdvalid $(top_srcdir)/fdi/fdi.dtd $(dist_fdi_DATA)
+
 clean-local :
 	rm -f *~




More information about the hal-commit mailing list