dist.mk: add a standard "distcheck" target
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
b2d0656814
commit
f796269a1d
@ -17,6 +17,13 @@ SNAPFILE= ${SNAPDIR}.tar.bz2
|
||||
dist:
|
||||
git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}
|
||||
|
||||
distcheck: dist
|
||||
rm -rf ${DISTPREFIX}
|
||||
tar xf ${DISTFILE}
|
||||
MAKEFLAGS= $(MAKE) -C ${DISTPREFIX}
|
||||
MAKEFLAGS= $(MAKE) -C ${DISTPREFIX} check
|
||||
rm -rf ${DISTPREFIX}
|
||||
|
||||
snapshot:
|
||||
rm -rf /tmp/${SNAPDIR}
|
||||
mkdir /tmp/${SNAPDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user