Makefile: tarball target to build source tarball
authorKonstantin Stepanov <kstep@p-nut.info>
Wed, 22 Dec 2010 17:42:30 +0000 (19:42 +0200)
committerKonstantin Stepanov <kstep@p-nut.info>
Wed, 22 Dec 2010 17:42:30 +0000 (19:42 +0200)
Makefile

index 53b6053..a1d5389 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,5 +51,8 @@ build: debclean
        git push -f origin v$(B)
        $(MAKE) deb
 
+tarball:
+       git archive --format=tar v$(B) | gzip -9 > ../dbuscron_$(B:.0=).orig.tar.gz
+
 .PHONY: install uninstall clean debclean deb build compile