svn commit: r200178 - head/share/mk

Ed Schouten ed at FreeBSD.org
Sun Dec 6 08:59:21 UTC 2009


Author: ed
Date: Sun Dec  6 08:59:19 2009
New Revision: 200178
URL: http://svn.freebsd.org/changeset/base/200178

Log:
  Make `make cleanilinks' work in /sys/modules.
  
  cleanilinks wasn't listed in <bsd.subdir.mk>. Instead of adding it to
  /sys/modules/Makefile, we'd better just add it to <bsd.subdir.mk>
  directly, so we don't need to change files like /sys/modules/sound/Makefile
  as well. This means you can finally clean up all those dangling symlinks
  created by individual module compilation at once.

Modified:
  head/share/mk/bsd.subdir.mk

Modified: head/share/mk/bsd.subdir.mk
==============================================================================
--- head/share/mk/bsd.subdir.mk	Sun Dec  6 02:44:55 2009	(r200177)
+++ head/share/mk/bsd.subdir.mk	Sun Dec  6 08:59:19 2009	(r200178)
@@ -24,9 +24,9 @@
 # 		This is a variant of install, which will
 # 		put the stuff into the right "distribution".
 #
-#	afterinstall, all, all-man, beforeinstall, checkdpadd,
-#	clean, cleandepend, cleandir, depend, install, lint, maninstall,
-#	manlint, obj, objlink, realinstall, regress, tags
+#	afterinstall, all, all-man, beforeinstall, checkdpadd, clean,
+#	cleandepend, cleandir, cleanilinks depend, install, lint,
+#	maninstall, manlint, obj, objlink, realinstall, regress, tags
 #
 
 .include <bsd.init.mk>
@@ -66,9 +66,8 @@ ${SUBDIR}: .PHONY
 	${MAKE} all
 
 .for __target in all all-man checkdpadd clean cleandepend cleandir \
-    depend distribute lint maninstall manlint \
-    obj objlink realinstall regress tags \
-    ${SUBDIR_TARGETS}
+    cleanilinks depend distribute lint maninstall manlint obj objlink \
+    realinstall regress tags ${SUBDIR_TARGETS}
 ${__target}: _SUBDIR
 .endfor
 


More information about the svn-src-all mailing list