]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: don't include tests in released tarball
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Dec 2013 12:28:00 +0000 (13:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Dec 2013 12:30:04 +0000 (13:30 +0100)
Do not include all our .t test files in releases. Skip
iptables-tests.py script as well.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Makefile.am

index c38d36004c3c80ea55b035fd4883cdaa4ac07344..275ebc35202db730cc335cb7be41900e4094e0f2 100644 (file)
@@ -21,7 +21,7 @@ tarball:
        rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION};
        pushd ${top_srcdir} && git archive --prefix=${PACKAGE_TARNAME}-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd;
        pushd /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION} && ./autogen.sh && popd;
-       tar -C /tmp -cjf ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root ${PACKAGE_TARNAME}-${PACKAGE_VERSION}/;
+       tar --exclude=*.t --exclude=iptables-test.py -C /tmp -cjf ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root ${PACKAGE_TARNAME}-${PACKAGE_VERSION}/;
        rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION};
 
 config.status: extensions/GNUmakefile.in \