From 01c51685795e012b992ee6820016119c807a1d95 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 30 Mar 2008 20:45:42 +0000 Subject: target_skeleton: mark empty directories with .empty files Mark empty directories in target skeletons with .empty files and remove them while copying to target (like it's already done for svn and cvs files) to better support version control system which don't handle empty directories (E.G. git-svn). --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bfa6a2fad..31bd1ac76 100644 --- a/Makefile +++ b/Makefile @@ -330,6 +330,7 @@ $(PROJECT_BUILD_DIR)/.root: fi -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf + -find $(TARGET_DIR) -type d -name .empty | xargs rm -rf touch $@ $(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root -- cgit v1.2.3