diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-04-07 14:20:11 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-04-07 14:20:11 +0000 |
commit | 0cebd40d77d3455371c2aa2f964edb0f1d9cc135 (patch) | |
tree | eee252567353f9b965857dd147beb64c7b7af5c0 /Makefile | |
parent | da3a012c615183a8b74203c324bf3470ad69bd60 (diff) |
Added new target, gmake <config>-activethorns which regenerates the
active thorns list from all your packages, thorns. This basically
just does a
rm configs/<config>/ActiveThorns ... which is about the same length
to type.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@449 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.21 1999-03-25 00:23:44 goodale Exp $ +# @version $Id: Makefile,v 1.22 1999-04-07 14:20:11 allen Exp $ # @@*/ # Make quietly unless told not to @@ -270,6 +270,23 @@ endif @echo Configuration $(@:%-rebuild=%) does not exist. @echo Rebuild aborted. +# Regenerate the active thorns list + +ifneq ($strip($(CONFIGURATIONS)),) +.PHONY $(addsuffix -activethorns,$(CONFIGURATIONS)): + +$(addsuffix -activethorns,$(CONFIGURATIONS)): + @echo $(DIVIDER) + @echo Regenerating ActiveThorn list $(@:%-activethorns=%) + if [ -r configs/$(@:%-activethorns=%)/ActiveThorns ] ; then rm configs/$(@:%-activethorns=%)/ActiveThorns ; fi + $(MAKE) $(@:%-activethorns=%) +endif + +%-activethorns: + @echo $(DIVIDER) + @echo Configuration $(@:%-activethorns=%) does not exist. + @echo Regeneration of ActiveThorns aborted. + # Rerun the configuration script ifneq ($strip($(CONFIGURATIONS)),) |