From 0183e7aba2b6ff6e9181faafece48773fe7b5af2 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Mon, 21 Apr 2008 12:27:08 +0000 Subject: [PATCH 1] Makefile.am: use PACKAGE_TARNAME --- Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index dc45b66..49edbf8 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}; -- cgit v1.2.3