]> granicus.if.org Git - mutt/commitdiff
Work around pdksh bug in xml doc make target.
authorRalf Wildenhues <wildenhues@ins.uni-bonn.de>
Tue, 14 Nov 2006 18:56:29 +0000 (18:56 +0000)
committerRalf Wildenhues <wildenhues@ins.uni-bonn.de>
Tue, 14 Nov 2006 18:56:29 +0000 (18:56 +0000)
doc/Makefile.am

index efefd32b38c94725546c1a1fb344d7a0f3e3809d..5469132d174493cf8ffe7f976343a7c1df28f5e8 100644 (file)
@@ -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