diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-01-17 04:03:25 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-17 04:03:25 -0500 |
commit | f796269a1d1bab63a6a9a6d60a27b03591e2fdef (patch) | |
tree | 7c1e4076f6e00f9636de447c28f9fb3f0ae98a35 /mk/dist.mk | |
parent | b2d0656814c2afe9a05b3e130f0289b225a371ec (diff) |
dist.mk: add a standard "distcheck" target
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'mk/dist.mk')
-rw-r--r-- | mk/dist.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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} |