expand dist into "normal" (clean svn), "working" (dirty svn, but export clean svn), and "testing" (export dirty svn)
This commit is contained in:
parent
a775480627
commit
c49d4c6576
13
Makefile
13
Makefile
@ -76,7 +76,7 @@ layout:
|
||||
ln -snf /var/tmp $(DESTDIR)/usr/tmp || exit $$?
|
||||
ln -snf share/man $(DESTDIR)/usr/local/man || exit $$?
|
||||
|
||||
distcheck:
|
||||
diststatus:
|
||||
if test -d .svn ; then \
|
||||
svnfiles=`svn status 2>&1 | egrep -v '^(U|P)'` ; \
|
||||
if test "x$$svnfiles" != "x" ; then \
|
||||
@ -88,14 +88,21 @@ distcheck:
|
||||
fi
|
||||
|
||||
distforce:
|
||||
rm -rf /tmp/$(PKG)
|
||||
cp -pPR . /tmp/$(PKG)
|
||||
tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
|
||||
rm -rf /tmp/$(PKG)
|
||||
du -b /tmp/$(PKG).tar.bz2
|
||||
|
||||
distit:
|
||||
rm -rf /tmp/$(PKG)
|
||||
svn export . /tmp/$(PKG)
|
||||
tar -C /tmp -cvjpf /tmp/$(PKG).tar.bz2 $(PKG)
|
||||
rm -rf /tmp/$(PKG)
|
||||
du -b /tmp/$(PKG).tar.bz2
|
||||
|
||||
dist: distcheck distforce
|
||||
dist: diststatus distit
|
||||
|
||||
.PHONY: layout dist distcheck distforce
|
||||
.PHONY: layout dist distforce distit diststatus
|
||||
|
||||
# vim: set ts=4 :
|
||||
|
Loading…
Reference in New Issue
Block a user