X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=contrib%2FMakefile.in;h=22864333fce2f1c9833cf086b48c27802683c349;hp=d0c775a3525285b4b1c6203b1a9706b0c5b9af78;hb=7d29626ce4e1fa932c6349c7253e6f774df069fc;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1;ds=sidebyside diff --git a/contrib/Makefile.in b/contrib/Makefile.in index d0c775a..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 + 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