From: Thomas Roessler Date: Mon, 20 Mar 2000 10:25:49 +0000 (+0000) Subject: Put Muttrc.head under autoconf control - we need to substitute X-Git-Tag: mutt-1-1-10-rel~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06a31e37737a771b387d23230ab2ad5672fb9860;p=mutt Put Muttrc.head under autoconf control - we need to substitute @docdir@ for the macro to work. --- diff --git a/Muttrc.head b/Muttrc.head.in similarity index 74% rename from Muttrc.head rename to Muttrc.head.in index 42d074a5..081daf56 100644 --- a/Muttrc.head +++ b/Muttrc.head.in @@ -15,9 +15,9 @@ macro index \cb |urlview\n 'call urlview to extract URLs out of a message' macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' # Show documentation when pressing F1 -macro generic "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" -macro index "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" -macro pager "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation" +macro generic "!less @docdir@/manual.txt\n" "Show Mutt documentation" +macro index "!less @docdir@/manual.txt\n" "Show Mutt documentation" +macro pager "!less @docdir@/manual.txt\n" "Show Mutt documentation" # If Mutt is unable to determine your site's domain name correctly, you can # set the default here. diff --git a/configure.in b/configure.in index a1b929a7..694b799e 100644 --- a/configure.in +++ b/configure.in @@ -586,4 +586,5 @@ AC_DEFINE_UNQUOTED(MUTTLOCALEDIR, "$MUTTLOCALEDIR") AC_OUTPUT(Makefile intl/Makefile m4/Makefile dnl po/Makefile.in doc/Makefile contrib/Makefile dnl muttbug.sh dnl - charmaps/Makefile imap/Makefile) + charmaps/Makefile imap/Makefile dnl + Muttrc.head)