Diff of /Makefile.am [fb0150] .. [ba73e6]  Maximize  Restore

  Switch to side-by-side view

--- a/Makefile.am
+++ b/Makefile.am
@@ -14,3 +14,11 @@
 asteroids3D_LDADD   = -lGL -lGLU -lglut -lm -lpthread
 
 gamedata_DATA       = $(wildcard src/*.ppm src/*.ub)
+
+.PHONY: tarball
+tarball:
+	rm -Rf /tmp/${PACKAGE_NAME}-${PACKAGE_VERSION};
+	pushd ${top_srcdir} && git-archive --prefix=${PACKAGE_NAME}-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd;
+	pushd /tmp/${PACKAGE_NAME}-${PACKAGE_VERSION} && ./autogen.sh && popd;
+	tar -C /tmp -cjf ${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.bz2 --owner=root --group=root ${PACKAGE_NAME}-${PACKAGE_VERSION}/;
+	rm -Rf /tmp/${PACKAGE_NAME}-${PACKAGE_VERSION};

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks