diff src/Makefile @ 2493:892c7366db35 vim73

Fixed: "make install" installed a few Amiga .info files.
author Bram Moolenaar <bram@vim.org>
date Wed, 04 Aug 2010 22:44:27 +0200
parents 1e5bc1cdec13
children a89f8c036bc5
line wrap: on
line diff
--- a/src/Makefile
+++ b/src/Makefile
@@ -1944,7 +1944,8 @@ installmacros: $(DEST_VIM) $(DEST_RT) $(
 	chmod $(FILEMOD) `find $(DEST_MACRO) -type f -print`
 	chmod $(SCRIPTMOD) $(DEST_MACRO)/less.sh
 # When using CVS some CVS directories might have been copied.
-	cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR \) -print`; \
+# Also delete AAPDIR and *.info files.
+	cvs=`find $(DEST_MACRO) \( -name CVS -o -name AAPDIR -o -name "*.info" \) -print`; \
 	      if test -n "$$cvs"; then \
 		 rm -rf $$cvs; \
 	      fi
@@ -1960,6 +1961,7 @@ installgtutorbin: $(DEST_VIM)
 
 installtutor: $(DEST_RT) $(DEST_TUTOR)
 	-$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
+	-rm -f $(DEST_TUTOR)/*.info
 	chmod $(HELPMOD) $(DEST_TUTOR)/*
 
 # Install the spell files, if they exist.  This assumes at least the English