From: Jan Engelhardt Date: Thu, 17 Apr 2008 08:32:13 +0000 (+0200) Subject: [PATCH 1] Makefile.am: use PACKAGE_TARNAME X-Git-Tag: v1.4.1-rc1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6610c8caf5dd4871fdd3db0b0e1026195f14c22;p=thirdparty%2Fiptables.git [PATCH 1] Makefile.am: use PACKAGE_TARNAME --- diff --git a/Makefile.am b/Makefile.am index dc45b66f..49edbf81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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};