summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2008-04-01 01:20:10 +0000
committerPaul W. Frields <stickster@gmail.com>2008-04-01 01:20:10 +0000
commit304f8507f3ea303257285c0ff74e1b0464f05188 (patch)
tree67eceb9f8ba1115f8c84a416ab7ce2574ac15c84
parentad5ff0f53a659682d2967abe9e7d1893ccabb3ea (diff)
downloadfedora-doc-utils-304f8507f3ea303257285c0ff74e1b0464f05188.tar.gz
fedora-doc-utils-304f8507f3ea303257285c0ff74e1b0464f05188.tar.xz
fedora-doc-utils-304f8507f3ea303257285c0ff74e1b0464f05188.zip
Don't let this bite anyone too badly, it's not obvious.
-rw-r--r--Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index f8b1a6b..e430b92 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -737,6 +737,8 @@ define TXT_template
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