summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2008-05-13 01:54:02 +0000
committerPaul W. Frields <stickster@gmail.com>2008-05-13 01:54:02 +0000
commit3d04976f113b9679e02159347b812a25a4fac6da (patch)
tree9555b2f6034bafb8fc05a9e66be010a26e4329bb
parent67115a6cf71a641a2fb3d20ae51f363a39944b95 (diff)
downloadfedora-doc-utils-3d04976f113b9679e02159347b812a25a4fac6da.zip
fedora-doc-utils-3d04976f113b9679e02159347b812a25a4fac6da.tar.gz
fedora-doc-utils-3d04976f113b9679e02159347b812a25a4fac6da.tar.xz
Make change to allow proper text building for now
-rw-r--r--Makefile.common9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index e430b92..daa9915 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -743,8 +743,13 @@ ${DOCBASE}-$(1).txt:: ${XMLFILES-${1}} ${XMLDEPFILES-${1}}
${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