X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=contrib%2FMakefile.in;h=22864333fce2f1c9833cf086b48c27802683c349;hp=86fba6103e9aa9bb7450cc689713484ff6807700;hb=7d29626ce4e1fa932c6349c7253e6f774df069fc;hpb=ac1b6b8cd721bc3c68a5ae466dddb281474d884f diff --git a/contrib/Makefile.in b/contrib/Makefile.in index 86fba61..2286433 100644 --- a/contrib/Makefile.in +++ b/contrib/Makefile.in @@ -1,5 +1,3 @@ -# $Id: Makefile.in,v 3.3 2003/04/02 08:47:28 roessler Exp $ - SHELL = /bin/sh PACKAGE = @PACKAGE@ @@ -23,7 +21,7 @@ subdir = contrib SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \ sample.muttrc sample.mailcap sample.muttrc-tlr \ colors.default colors.linux smime.rc \ - ca-bundle.crt smime_keys_test.pl grml-muttng + ca-bundle.crt smime_keys_test.pl grml-muttng update-config.pl DISTFILES = Makefile.in language.txt language50.txt \ patch.slang-1.2.2.keypad.1 \ @@ -43,6 +41,7 @@ install: for f in $(SAMPLES) ; do \ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \ done + chmod 755 $(DESTDIR)$(docdir)/samples/update-config.pl for f in $(srcdir)/iconv/*.rc ; do \ $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \ done @@ -50,6 +49,12 @@ install: # Nothing needs to be done - uninstall in doc removes samples as well. # This is just so make uninstall doesn't fail. uninstall: + for f in $(SAMPLES) ; do \ + rm -f $(DESTDIR)$(docdir)/samples/$$f ; \ + done + -rm -rf $(DESTDIR)$(docdir)/samples/iconv + -rmdir $(DESTDIR)$(docdir)/samples + -rmdir $(DESTDIR)$(docdir) maintainer-clean: distclean