[netfilter-cvslog] r7444 - trunk/iptables

kaber at trash.net kaber at trash.net
Sun Apr 6 17:40:41 CEST 2008


Author: kaber at trash.net
Date: 2008-04-06 17:40:41 +0200 (Sun, 06 Apr 2008)
New Revision: 7444

Modified:
   trunk/iptables/Makefile.am
Log:
[PATCH 03/24] Makefile: add a "tarball" target


Modified: trunk/iptables/Makefile.am
===================================================================
--- trunk/iptables/Makefile.am	2008-04-06 15:40:11 UTC (rev 7443)
+++ trunk/iptables/Makefile.am	2008-04-06 15:40:41 UTC (rev 7444)
@@ -93,3 +93,11 @@
 
 extensions/%:
 	${MAKE} ${AM_MAKEFLAGS} -C $(@D) $(@F)
+
+.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};




More information about the netfilter-cvslog mailing list