From: Rocco Rutte Date: Mon, 17 Jul 2006 18:40:26 +0000 (+0000) Subject: Some makefile fixes relating to reldate.h. X-Git-Tag: mutt-1-5-13-rel~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ee9d6ad5177d85e3355e9bda5f5c019d4a48eff;p=mutt Some makefile fixes relating to reldate.h. --- diff --git a/doc/Makefile.in b/doc/Makefile.in index f6790b1e..f5fcbf7f 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -167,6 +167,9 @@ dist distdir: Makefile $(DISTFILES) ../makedoc$(EXEEXT): $(top_srcdir)/makedoc.c (cd .. && $(MAKE) makedoc$(EXEEXT)) +../reldate.h: + (cd .. && $(MAKE) reldate.h) + update-doc: stamp-doc-xml stamp-doc-chunked manual.txt manual.html muttrc.man: ../makedoc$(EXEEXT) $(top_srcdir)/init.h muttrc.man.head muttrc.man.tail @@ -182,9 +185,9 @@ mutt.1: $(srcdir)/mutt.man $(EDIT) $(srcdir)/mutt.man > $@ stamp-doc-xml: $(top_srcdir)/makedoc.c $(top_srcdir)/init.h manual.xml.head manual.xml.tail \ - $(top_srcdir)/VERSION $(top_srcdir)/reldate.h + $(top_srcdir)/VERSION ../reldate.h $(MAKE) ../makedoc$(EXEEXT) - ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` (`cut -d\\" -f2 $(top_srcdir)/reldate.h`)/" $(srcdir)/manual.xml.head ;\ + ( sed -e "s/@VERSION\@/`cat $(top_srcdir)/VERSION` (`cut -d\\\" -f2 ../reldate.h`)/" $(srcdir)/manual.xml.head ;\ $(MAKEDOC_CPP) $(top_srcdir)/init.h | ../makedoc -s ) | \ cat - $(srcdir)/manual.xml.tail > manual.xml touch stamp-doc-xml