hal/fdi/policy/10osvendor Makefile.am,1.7,1.8
Danny Kukawka
dkukawka at freedesktop.org
Mon Dec 12 14:42:28 PST 2005
Update of /cvs/hal/hal/fdi/policy/10osvendor
In directory gabe:/tmp/cvs-serv25778/fdi/policy/10osvendor
Modified Files:
Makefile.am
Log Message:
2005-12-12 Danny Kukawka <danny.kukawka at web.de>
* fdi/information/10freedesktop/Makefile.am,
fdi/policy/10osvendor/Makefile.am,
fdi/preprobe/10osvendor/Makefile.am: fixed validate fdi files for
correct XML in target check to fix broken 'make distcheck'
Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/fdi/policy/10osvendor/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.am 12 Dec 2005 16:09:58 -0000 1.7
+++ Makefile.am 12 Dec 2005 22:42:26 -0000 1.8
@@ -17,7 +17,20 @@
endif
check:
- xmllint --noout --dtdvalid $(top_srcdir)/fdi/fdi.dtd $(dist_fdi_DATA)
+ for f in $(dist_fdi_DATA); do \
+ echo -n "Validate XML in $$f : "; \
+ xmllint --noout --dtdvalid $(top_srcdir)/fdi/fdi.dtd $(srcdir)/$$f 2> xmllint.error; \
+ if test -s xmllint.error; \
+ then \
+ echo failed; \
+ cat xmllint.error; \
+ rm -f xmllint.error; \
+ exit 1; \
+ else \
+ echo ok; \
+ rm -f xmllint.error; \
+ fi; \
+ done;
clean-local :
rm -f *~
More information about the hal-commit
mailing list