]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
[PATCH 1] Makefile.am: use PACKAGE_TARNAME
authorJan Engelhardt <jengelh@medozas.de>
Thu, 17 Apr 2008 08:32:13 +0000 (10:32 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 21 Apr 2008 12:27:08 +0000 (14:27 +0200)
Makefile.am

index dc45b66ff6dbd193e4b57588ccc5c08c5621f7e8..49edbf81a7fe4041d19863e9a7db69e8e5fcec46 100644 (file)
@@ -97,8 +97,8 @@ extensions/%:
 
 .PHONY: tarball
 tarball:
-       rm -Rf /tmp/xtables-${PACKAGE_VERSION};
-       pushd ${top_srcdir} && git-archive --prefix=xtables-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd;
-       pushd /tmp/xtables-${PACKAGE_VERSION} && ./autogen.sh && popd;
-       tar -C /tmp -cjf xtables-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root xtables-${PACKAGE_VERSION}/;
-       rm -Rf /tmp/xtables-${PACKAGE_VERSION};
+       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}/;
+       rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION};