svn commit: r258797 - head/release
Hiroki Sato
hrs at FreeBSD.org
Sun Dec 1 15:24:35 UTC 2013
Author: hrs
Date: Sun Dec 1 15:24:35 2013
New Revision: 258797
URL: http://svnweb.freebsd.org/changeset/base/258797
Log:
Use standard CLEANFILES/CLEANDIRS and clean target in bsd.obj.mk.
Modified:
head/release/Makefile
Modified: head/release/Makefile
==============================================================================
--- head/release/Makefile Sun Dec 1 15:06:30 2013 (r258796)
+++ head/release/Makefile Sun Dec 1 15:24:35 2013 (r258797)
@@ -91,7 +91,12 @@ IMAGES+= memstick.img
IMAGES+= mini-memstick.img
.endif
+CLEANFILES= packagesystem *.txz MANIFEST system ${IMAGES}
+CLEANDIRS= dist ftp release bootonly dvd
+beforeclean:
+ chflags -R noschg .
.include <bsd.obj.mk>
+clean: beforeclean
base.txz:
mkdir -p ${DISTDIR}
@@ -233,15 +238,6 @@ release:
${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} obj
${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${RELEASE_TARGETS}
-clean:
- chflags -R noschg .
- rm -rf dist ftp
- rm -f packagesystem
- rm -f *.txz MANIFEST
- rm -f system
- rm -rf release bootonly dvd
- rm -f ${IMAGES}
-
install:
.if defined(DESTDIR) && !empty(DESTDIR)
mkdir -p ${DESTDIR}
More information about the svn-src-head
mailing list