Rename rebuild to remake, and define rebuild to "clean; build"
authorIan Lynagh <igloo@earth.li>
Thu, 20 Mar 2008 22:19:15 +0000 (22:19 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 20 Mar 2008 22:19:15 +0000 (22:19 +0000)
libraries/Makefile

index c172f88..c854108 100644 (file)
@@ -12,7 +12,7 @@
 #
 # or the following is equivalent:
 #
-#   make rebuild.library.<package>
+#   make remake.library.<package>
 #
 # To add a new library to the tree, do
 #
@@ -215,9 +215,13 @@ all: doc
 endif
 
 .PHONY: rebuild.library.%
+.PHONY: remake.library.%
 
 $(foreach SUBDIR,$(SUBDIRS),rebuild.library.$(SUBDIR)):\
-rebuild.library.%: clean.library.% make.library.%
+rebuild.library.%: clean.library.% build.library.%
+
+$(foreach SUBDIR,$(SUBDIRS),remake.library.$(SUBDIR)):\
+remake.library.%: clean.library.% make.library.%
 
 # NB. we're depending on make chasing dependencies from left to right here.
 # This bit goes wrong with 'make -j'.