Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2009 08:59:20 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200178 - head/share/mk
Message-ID:  <200912060859.nB68xKhl015241@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912060859.nB68xKhl015241>