From: Jan Engelhardt Date: Mon, 1 Sep 2008 12:27:19 +0000 (+0200) Subject: build: prepare make tarball for git 1.6.0 X-Git-Tag: v1.4.2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e812285f071696c867adfb344dc0eb19af7136a;p=thirdparty%2Fiptables.git build: prepare make tarball for git 1.6.0 Git 1.6.0 will not have the dashful forms anymore. Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- diff --git a/Makefile.am b/Makefile.am index 066dc562..742e3de0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -101,7 +101,7 @@ pkgconfig_DATA = xtables.pc .PHONY: tarball 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 ${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};