]> granicus.if.org Git - mutt/commitdiff
Put Muttrc.head under autoconf control - we need to substitute
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 20 Mar 2000 10:25:49 +0000 (10:25 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 20 Mar 2000 10:25:49 +0000 (10:25 +0000)
@docdir@ for the <f1> macro to work.

Muttrc.head.in [moved from Muttrc.head with 74% similarity]
configure.in

similarity index 74%
rename from Muttrc.head
rename to Muttrc.head.in
index 42d074a5b54fcbeba2a6090a8b69dd6af242ec02..081daf5690f188b37efcd0551f2d45f3b49f9aa8 100644 (file)
@@ -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 <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
-macro index   <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
-macro pager   <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
+macro generic <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
+macro index   <f1> "!less @docdir@/manual.txt\n" "Show Mutt documentation"
+macro pager   <f1> "!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.
index a1b929a733fb5dba2c9d71bcddc57da93a3a07b4..694b799ea8976f0d58c3669eab971f70038dd02c 100644 (file)
@@ -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)