summaryrefslogtreecommitdiff
path: root/lib/make/make.configuration
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-21 11:23:44 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-21 11:23:44 +0000
commit4186f68dc89bec8d030fc64e01a4836a96bdc33e (patch)
tree386930deb95a5590a1197a8c07d6a3048c69ee67 /lib/make/make.configuration
parent8c8a283caecd5acddb6466c79be1513aae2fb70c (diff)
For "make clean", remove the complete scratch directory instead of
just its contents. This avoids problems if there are so many files in there that the shell glob "scratch/*" cannot be expanded any more. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4110 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.configuration')
-rw-r--r--lib/make/make.configuration6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index 5163fe47..a1641880 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -273,7 +273,7 @@ editthorns:
clean:
@echo Deleting all object and dependency files in $(TOP)
find $(TOP) \( -name '*.[od]' -o -name '*.a' \) -exec rm {} \;
- rm -rf $(TOP)/scratch/*
+ rm -rf $(TOP)/scratch
cleandeps:
@echo Deleting all dependency files in $(TOP)
@@ -282,7 +282,7 @@ cleandeps:
cleanobjs:
@echo Deleting all object files in $(TOP)
find $(TOP) \( -name '*.[o]' -o -name '*.a' \) -exec rm {} \;
- rm -rf $(TOP)/scratch/*
+ rm -rf $(TOP)/scratch
realclean:
@echo Deleting all built files in $(TOP)
@@ -290,7 +290,7 @@ realclean:
rm -rf $(TOP)/bindings
rm -rf $(TOP)/config-data/make.thornlist
rm -rf $(TOP)/lib/*
- rm -rf $(TOP)/scratch/*
+ rm -rf $(TOP)/scratch
rm -f datestamp.o
# This target will build only a subset of the thorns for a given configuration.