mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 05:34:58 +02:00
Makefile: add "tarball" target
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
@@ -2,3 +2,11 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign subdir-objects
|
AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||||
SUBDIRS = extensions
|
SUBDIRS = extensions
|
||||||
|
|
||||||
|
.PHONY: tarball
|
||||||
|
tarball:
|
||||||
|
rm -Rf /tmp/xtables-addons-${PACKAGE_VERSION};
|
||||||
|
pushd ${top_srcdir} && git-archive --prefix=xtables-addons-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd;
|
||||||
|
pushd /tmp/xtables-addons-${PACKAGE_VERSION} && ./autogen.sh && popd;
|
||||||
|
tar -C /tmp -cjf xtables-addons-${PACKAGE_VERSION}.tar.bz2 xtables-addons-${PACKAGE_VERSION}/;
|
||||||
|
rm -Rf /tmp/xtables-addons-${PACKAGE_VERSION};
|
||||||
|
Reference in New Issue
Block a user