From f02b6a1773de4640e06d930f271afb95250026bb Mon Sep 17 00:00:00 2001 From: "David F. Skoll" Date: Mon, 23 Jan 2012 11:14:00 -0500 Subject: [PATCH] "-x" flag to git-ls-files doesn't work, apparently. --- src/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index befc4732..19553e54 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -80,13 +80,13 @@ depend: # Build a tar file based on all files checked into git. distro: ln -s . ../remind-$(VERSION) - (cd ..; git ls-files -x .gitignore) | sed -e 's/^/remind-$(VERSION)\//' | xargs tar -C .. -cvf remind-$(VERSION).tar + (cd ..; git ls-files | fgrep -v .gitignore | fgrep -v remind.php) | sed -e 's/^/remind-$(VERSION)\//' | xargs tar -C .. -cvf remind-$(VERSION).tar gzip -f -v -9 remind-$(VERSION).tar rm -f ../remind-$(VERSION) beta-tgz: ln -s . ../remind-$(VERSION)-BETA-$(BETA) - (cd ..; git ls-files -x .gitignore) | sed -e 's/^/remind-$(VERSION)-BETA-$(BETA)\//' | xargs tar -C .. -cvf remind-$(VERSION)-BETA-$(BETA).tar + (cd ..; git ls-files | fgrep -v .gitignore | fgrep -v remind.php) | sed -e 's/^/remind-$(VERSION)-BETA-$(BETA)\//' | xargs tar -C .. -cvf remind-$(VERSION)-BETA-$(BETA).tar gzip -f -v -9 remind-$(VERSION)-BETA-$(BETA).tar rm -f ../remind-$(VERSION)-BETA-$(BETA)