From: Ralf Wildenhues Date: Tue, 14 Nov 2006 18:56:29 +0000 (+0000) Subject: Work around pdksh bug in xml doc make target. X-Git-Tag: mutt-1-5-14-rel~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99c447d8cd02eb94b029a1f9119715499c6100b0;p=mutt Work around pdksh bug in xml doc make target. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index efefd32b..5469132d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -132,7 +132,8 @@ mutt.1: $(srcdir)/mutt.man stamp-doc-xml: $(top_srcdir)/makedoc.c $(top_srcdir)/init.h manual.xml.head manual.xml.tail \ $(top_srcdir)/VERSION ../reldate.h $(MAKE) ../makedoc$(EXEEXT) - ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` (`cut -d\\\" -f2 ../reldate.h`)/" $(srcdir)/manual.xml.head ;\ + ( date=`cut -d\" -f2 ../reldate.h`; \ + sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` ($$date)/" $(srcdir)/manual.xml.head ;\ $(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ) | \ cat - $(srcdir)/manual.xml.tail > manual.xml touch stamp-doc-xml