From: Brendan Cully Date: Wed, 14 Mar 2007 05:40:07 +0000 (-0700) Subject: Fully expand $docdir when building Muttrc (closes: #2832) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=010d890ee8ac28a03642287edfb09aa9711c2a69;p=neomutt Fully expand $docdir when building Muttrc (closes: #2832) --- diff --git a/Makefile.am b/Makefile.am index d299d028f..d171977b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -201,8 +201,9 @@ Muttrc: stamp-doc-rc stamp-doc-rc: $(srcdir)/init.h makedoc Muttrc.head -rm -f Muttrc stamp-doc-rc + sed -e 's,[@]docdir[@],$(docdir),' $(srcdir)/Muttrc.head > Muttrc $(CPP) $(AM_CPPFLAGS) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \ - $(srcdir)/init.h | ./makedoc -c | cat Muttrc.head - > Muttrc + $(srcdir)/init.h | ./makedoc -c >> Muttrc touch stamp-doc-rc diff --git a/Muttrc.head.in b/Muttrc.head similarity index 100% rename from Muttrc.head.in rename to Muttrc.head diff --git a/configure.in b/configure.in index f3b0d4003..2cd6b00ec 100644 --- a/configure.in +++ b/configure.in @@ -1166,5 +1166,4 @@ AC_OUTPUT(Makefile intl/Makefile m4/Makefile po/Makefile.in doc/Makefile contrib/Makefile muttbug.sh imap/Makefile - Muttrc.head doc/instdoc.sh)