From f0ca4b8205242e3b6c2a302f0d254bb2085f76e2 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 21 Aug 2007 10:56:38 +0000 Subject: [PATCH] - fix incorrect invocation of non-existing binary named "-find" This bloated the target needlessly (and used to work before) --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5402016db9..9b1b56bb89 100644 --- a/Makefile +++ b/Makefile @@ -250,14 +250,14 @@ endif $(PROJECT_BUILD_DIR)/.root: mkdir -p $(TARGET_DIR) - if ! [ -d "$(TARGET_DIR)/bin" ] ; then \ - if [ -d "$(TARGET_SKELETON)" ] ; then \ - cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \ + if ! [ -d "$(TARGET_DIR)/bin" ]; then \ + if [ -d "$(TARGET_SKELETON)" ]; then \ + cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/ ; \ fi; \ touch $(STAGING_DIR)/.fakeroot.00000 ; \ - -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf ; \ - -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf ; \ - fi; + fi + -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf + -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf touch $@ $(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root -- 2.30.2