diff options
Diffstat (limited to 'mail/mutt/files/patch-doc-Makefile.am')
-rw-r--r-- | mail/mutt/files/patch-doc-Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/mutt/files/patch-doc-Makefile.am b/mail/mutt/files/patch-doc-Makefile.am new file mode 100644 index 000000000000..557432a6a60b --- /dev/null +++ b/mail/mutt/files/patch-doc-Makefile.am @@ -0,0 +1,29 @@ +--- doc/Makefile.am.orig 2014-05-31 14:09:54.000000000 +0200 ++++ doc/Makefile.am 2014-05-31 14:12:07.000000000 +0200 +@@ -77,14 +77,7 @@ + -for f in $(HTML_DOCFILES) ; do \ + $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \ + done +- $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist +- -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \ +- mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \ +- elif [ -f $(DESTDIR)$(pkgdatadir)/../Muttrc ] ; then \ +- mv $(DESTDIR)$(pkgdatadir)/../Muttrc* $(DESTDIR)$(sysconfdir) ; \ +- elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \ +- $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir) ; \ +- fi ++ $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.sample + + uninstall-local: + for f in mutt.1 mutt_dotlock.1 flea.1 muttbug.1 smime_keys.1 pgpewrap.1 pgpring.1; do \ +@@ -107,9 +100,7 @@ + + check: + manual.txt: manual.html +- -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \ +- LC_ALL=C w3m -dump manual.html > $@ || \ +- LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@ ++ -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ + + Muttrc: stamp-doc-rc + |