From 06a31e37737a771b387d23230ab2ad5672fb9860 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 20 Mar 2000 10:25:49 +0000 Subject: [PATCH] Put Muttrc.head under autoconf control - we need to substitute @docdir@ for the macro to work. --- Muttrc.head => Muttrc.head.in | 6 +++--- configure.in | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) rename Muttrc.head => Muttrc.head.in (74%) 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) -- 2.40.0