Replace BitKeeper dist target with Git archive
This commit is contained in:
@@ -90,14 +90,11 @@ dist: tgz
|
||||
make all
|
||||
|
||||
tgz:
|
||||
if [ -d BitKeeper ]; then \
|
||||
mkdir ncpfs-$(VERSION) && \
|
||||
bk export -tplain ncpfs-$(VERSION) && \
|
||||
tar cvf - ncpfs-$(VERSION) | (cd .. && gzip -9 > $(DISTFILE)) &&
|
||||
rm -rf ncpfs-$(VERSION); \
|
||||
if [ -d .git ]; then \
|
||||
git archive --format=tar --prefix=ncpfs-$(VERSION)/ HEAD | gzip -9 > ../$(DISTFILE); \
|
||||
else \
|
||||
make distclean; \
|
||||
(cd ..; tar cvf - $(SRCDIR) | gzip -9 > $(DISTFILE)); \
|
||||
(cd ..; tar --exclude='.git' -cvf - $(SRCDIR) | gzip -9 > $(DISTFILE)); \
|
||||
fi
|
||||
|
||||
slackware:
|
||||
|
||||
Reference in New Issue
Block a user