summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2006-07-17 18:40:26 +0000
committerRocco Rutte <pdmef@gmx.net>2006-07-17 18:40:26 +0000
commit1ee9d6ad5177d85e3355e9bda5f5c019d4a48eff (patch)
tree7816e6982ef0d31fe42ee62c52b0a5c21686d1e4 /doc
parentab41f59088baefc26c243e141f419c20e8a79684 (diff)
Some makefile fixes relating to reldate.h.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in7
1 files changed, 5 insertions, 2 deletions
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