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).
This commit is contained in:
Peter Korsgaard 2008-03-30 20:45:42 +00:00
parent 697dd2ed93
commit 01c5168579
115 changed files with 1 additions and 0 deletions

View File

@ -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

Some files were not shown because too many files have changed in this diff Show More