svn commit: r204833 - head

Antoine Brodin antoine at FreeBSD.org
Sun Mar 7 14:55:43 UTC 2010


Author: antoine
Date: Sun Mar  7 14:55:43 2010
New Revision: 204833
URL: http://svn.freebsd.org/changeset/base/204833

Log:
  Remove old documents when they are not compressed.
  (NO_INFOCOMPRESS, NO_DOCCOMPRESS or NO_MANCOMPRESS)
  
  MFC after:	1 month

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Sun Mar  7 14:31:57 2010	(r204832)
+++ head/Makefile.inc1	Sun Mar  7 14:55:43 2010	(r204833)
@@ -1259,7 +1259,7 @@ delete-old-files:
 	@echo ">>> Removing old files (only deletes safe to delete libs)"
 # Ask for every old file if the user really wants to remove it.
 # It's annoying, but better safe than sorry.
-	@for file in ${OLD_FILES}; do \
+	@for file in ${OLD_FILES} ${OLD_FILES:Musr/share/*.gz:R}; do \
 		if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
 			chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \
 			rm ${RM_I} "${DESTDIR}/$${file}"; \
@@ -1279,7 +1279,7 @@ delete-old-files:
 
 check-old-files:
 	@echo ">>> Checking for old files"
-	@for file in ${OLD_FILES}; do \
+	@for file in ${OLD_FILES} ${OLD_FILES:Musr/share/*.gz:R}; do \
 		if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
 		 	echo "${DESTDIR}/$${file}"; \
 		fi; \


More information about the svn-src-head mailing list