docs-common Makefile.common,1.180,1.181

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue May 13 01:54:04 UTC 2008


Author: pfrields

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

Modified Files:
	Makefile.common 
Log Message:
Make change to allow proper text building for now


Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- Makefile.common	1 Apr 2008 01:20:10 -0000	1.180
+++ Makefile.common	13 May 2008 01:54:02 -0000	1.181
@@ -743,8 +743,13 @@
 	${XSLTPROC} $(FDPCOMMONDIR)/packaging/strip-for-txt.xsl \
 		$(1)/$(DOCBASE).lint.xml > $(1)/$(DOCBASE).stripped.xml
 	rm $(1)/$(DOCBASE).lint.xml
-	LANG=$(1).UTF-8 ${XMLTO} ${XMLTOOPTS} ${XMLTOTXTPOSTOPT} txt \
-		$(1)/$(DOCBASE).stripped.xml
+#	THIS IS ONLY REMOVED FOR THE 9.0.1 BUILD, THANKS TO BROKEN XMLTO.
+#	LANG=$(1).UTF-8 ${XMLTO} ${XMLTOOPTS} ${XMLTOTXTPOSTOPT} txt \
+#		$(1)/$(DOCBASE).stripped.xml
+	LANG=${1}.UTF-8 ${XMLTO} ${XMLTOOPTS} html-nochunks \
+		${1}/${DOCBASE}.stripped.xml
+	LANG=${1}.UTF-8 w3m -dump ${DOCBASE}.stripped.html > \
+		${DOCBASE}.stripped.txt
 	mv $(DOCBASE).stripped.txt $(DOCBASE)-$(1).txt
 	rm $(1)/$(DOCBASE).stripped.xml
 




More information about the Fedora-docs-commits mailing list