docs-common Makefile.common,1.179,1.180

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Apr 1 01:20:12 UTC 2008


Author: pfrields

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10308

Modified Files:
	Makefile.common 
Log Message:
Don't let this bite anyone too badly, it's not obvious.


Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -r1.179 -r1.180
--- Makefile.common	21 Nov 2007 21:40:36 -0000	1.179
+++ Makefile.common	1 Apr 2008 01:20:10 -0000	1.180
@@ -737,6 +737,8 @@
 txt-$(1) text-$(1):: ${DOCBASE}-$(1).txt
 
 ${DOCBASE}-$(1).txt:: ${XMLFILES-${1}} ${XMLDEPFILES-${1}}
+# Not pretty, but it's what we've got.
+	test -f /usr/bin/w3m || ( echo 'Missing w3m package.' && exit 1 )
 	${XMLLINT} ${XMLLINTOPT} $(1)/$(DOCBASE).xml > $(1)/$(DOCBASE).lint.xml
 	${XSLTPROC} $(FDPCOMMONDIR)/packaging/strip-for-txt.xsl \
 		$(1)/$(DOCBASE).lint.xml > $(1)/$(DOCBASE).stripped.xml




More information about the docs-commits mailing list