Modify "make dist" target to use git-ls-files instead of peekentry into CVS.

This commit is contained in:
David F. Skoll
2007-08-02 22:27:12 -04:00
committed by David F. Skoll
parent fc658d15d4
commit 79ab150546

View File

@@ -73,17 +73,18 @@ depend:
# The next targets are not very useful to you. I use them to build
# distributions, etc.
# Build a tar file based on all files checked into CVS.
# Build a tar file based on all files checked into git.
distro:
ln -s .. remind-$(VERSION)
peekentry `find remind-$(VERSION) -depth -follow -name 'Entries' -print` | xargs tar cvf remind-$(VERSION).tar
ln -s . ../remind-$(VERSION)
(cd ..; git-ls-files) | sed -e 's/^/remind-$(VERSION)\//' | xargs tar -C .. -cvf remind-$(VERSION).tar
gzip -f -v -9 remind-$(VERSION).tar
rm -f remind-$(VERSION)
rm -f ../remind-$(VERSION)
beta-tgz:
ln -s .. remind-$(VERSION)-BETA-$(BETA)
peekentry `find remind-$(VERSION)-BETA-$(BETA) -depth -follow -name 'Entries' -print` | xargs tar cvf remind-$(VERSION)-BETA-$(BETA).tar
ln -s . ../remind-$(VERSION)-BETA-$(BETA)
(cd ..; git-ls-files) | 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)
rm -f ../remind-$(VERSION)-BETA-$(BETA)
#---------------- Stuff after this added by "make depend" -----------------