diff options
author | antoine <antoine@FreeBSD.org> | 2010-03-07 14:55:43 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2010-03-07 14:55:43 +0000 |
commit | bb7414c0b8cbf499136ef8a80d324efd1dea23f3 (patch) | |
tree | a128121410f4d763012316177f53be45686099ba /Makefile.inc1 | |
parent | 7502c4d558be205267f69cdc2249cd69789265f1 (diff) | |
download | FreeBSD-src-bb7414c0b8cbf499136ef8a80d324efd1dea23f3.zip FreeBSD-src-bb7414c0b8cbf499136ef8a80d324efd1dea23f3.tar.gz |
Remove old documents when they are not compressed.
(NO_INFOCOMPRESS, NO_DOCCOMPRESS or NO_MANCOMPRESS)
MFC after: 1 month
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index fe163ab..03b9b4f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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; \ |