diff --git a/Makefile.am b/Makefile.am index 29be2c3..3888ec0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,7 @@ extensions/%: .PHONY: tarball tarball: rm -Rf /tmp/xtables-addons-${PACKAGE_VERSION}; - pushd ${top_srcdir} && git-archive --prefix=xtables-addons-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd; + pushd ${top_srcdir} && git archive --prefix=xtables-addons-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd; pushd /tmp/xtables-addons-${PACKAGE_VERSION} && ./autogen.sh && popd; tar -C /tmp -cjf xtables-addons-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root xtables-addons-${PACKAGE_VERSION}/; rm -Rf /tmp/xtables-addons-${PACKAGE_VERSION};