installsrc:
install -d "$(SRCROOT)"
- rsync -a --exclude=.svn ./ "$(SRCROOT)"
+ rsync -a --exclude=.svn --exclude=.git ./ "$(SRCROOT)"
clean:
$(_v) echo Nothing to clean
ifneq ($(CommonNoInstallSource),YES)
@echo "Installing source for $(Project)..."
$(_v) $(MKDIR) "$(SRCROOT)"
-ifneq ($(wildcard $(PAX)),)
- $(_v) $(PAX) -rw . "$(SRCROOT)"
-else
- $(_v) $(TAR) cf - . | (cd "$(SRCROOT)" ; $(TAR) xfp -)
-endif
- $(_v) $(FIND) "$(SRCROOT)" $(Find_Cruft) -depth -exec $(RMDIR) "{}" \;
+ $(_v) $(TAR) -cp $(Tar_Cruft) . | $(TAR) -pox -C "$(SRCROOT)"
endif
ifndef ShadowTestFile
##
# Find Garbage
##
-Cruft = CVS RCS SCCS *~ .*~ .nfs\* .*.wmd .svn .DS_Store
+Cruft = CVS RCS SCCS *~ .*~ .nfs\* .*.wmd .svn .DS_Store .git
Find_Cruft = '(' $(Cruft:%=-name '%' -or) -name '' ')' -print
+Tar_Cruft = $(Cruft:%=--exclude '%')
##
# Install