build: make distcheck work
This commit is contained in:
parent
38af1ce2d2
commit
3e2d447a44
1 changed files with 9 additions and 0 deletions
9
Makefile
9
Makefile
|
@ -111,3 +111,12 @@ install_docs: docs
|
||||||
done
|
done
|
||||||
|
|
||||||
.SUFFIXES: .scd .1 .2 .3 .4 .5 .6 .7 .8
|
.SUFFIXES: .scd .1 .2 .3 .4 .5 .6 .7 .8
|
||||||
|
|
||||||
|
DIST_NAME = ${PACKAGE_NAME}-${PACKAGE_VERSION}
|
||||||
|
DIST_TARBALL = ${DIST_NAME}.tar.xz
|
||||||
|
|
||||||
|
distcheck: check dist
|
||||||
|
dist: ${DIST_TARBALL}
|
||||||
|
${DIST_TARBALL}:
|
||||||
|
git archive --format=tar --prefix=${DIST_NAME}/ -o ${DIST_NAME}.tar ${DIST_NAME}
|
||||||
|
xz ${DIST_NAME}.tar
|
||||||
|
|
Loading…
Reference in a new issue