X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=contrib%2FMakefile.in;h=22864333fce2f1c9833cf086b48c27802683c349;hp=9f79a09448372506cda01d6e68715f7cba02b344;hb=7d29626ce4e1fa932c6349c7253e6f774df069fc;hpb=53ceb3f257ec0af78a9129a8a565e8ca2bb03903 diff --git a/contrib/Makefile.in b/contrib/Makefile.in index 9f79a09..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@ @@ -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