From: Brendan Cully Date: Fri, 16 Sep 2005 01:37:20 +0000 (+0000) Subject: Tweak makefile so that the dist tarball doesn't always try to build docs. X-Git-Tag: mutt-1-5-12-rel~402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=928116d19ad4ee5041da0380e65b9975c9aac538;p=mutt Tweak makefile so that the dist tarball doesn't always try to build docs. --- diff --git a/doc/Makefile.in b/doc/Makefile.in index 6d6cc82b..9b5cbce7 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -110,11 +110,11 @@ check: manual.txt: manual.html -lynx -dump -nolist -with_backspaces $^ > $@ || w3m -dump $^ > $@ -manual.html: $(srcdir)/html.xsl manual.xml - -xsltproc --nonet -o $@ $^ +manual.html: $(srcdir)/html.xsl stamp-doc-xml + -xsltproc --nonet -o $@ $(srcdir)/html.xsl manual.xml -manual-chunked stamp-doc-chunked: $(srcdir)/chunk.xsl manual.xml - -xsltproc --nonet $^ +manual-chunked stamp-doc-chunked: $(srcdir)/chunk.xsl stamp-doc-xml + -xsltproc --nonet $(srcdir)/chunk.xsl manual.xml touch stamp-doc-chunked manual.pdf: stamp-doc-tex @@ -180,7 +180,8 @@ EDIT = sed -e 's,@sysconfdir\@,$(sysconfdir),g' \ mutt.1: $(srcdir)/mutt.man $(EDIT) $(srcdir)/mutt.man > $@ -manual.xml stamp-doc-xml: ../makedoc$(EXEEXT) $(top_srcdir)/init.h manual.xml.head manual.xml.tail $(top_srcdir)/VERSION +manual.xml stamp-doc-xml: $(top_srcdir)/init.h manual.xml.head manual.xml.tail $(top_srcdir)/VERSION + $(MAKE) ../makedoc$(EXEEXT) ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION`/" $(srcdir)/manual.xml.head ;\ $(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ) | \ cat - $(srcdir)/manual.xml.tail > manual.xml