[Pkg-voip-commits] r6368 - /freepbx-modules/trunk/debian/rules

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Thu Oct 30 10:06:26 UTC 2008


Author: tzafrir-guest
Date: Thu Oct 30 10:06:26 2008
New Revision: 6368

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6368
Log:
Fix the get-orig-source target.

Modified:
    freepbx-modules/trunk/debian/rules

Modified: freepbx-modules/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/freepbx-modules/trunk/debian/rules?rev=6368&op=diff
==============================================================================
--- freepbx-modules/trunk/debian/rules (original)
+++ freepbx-modules/trunk/debian/rules Thu Oct 30 10:06:26 2008
@@ -61,7 +61,10 @@
 
 binary: binary-indep binary-arch
 
+# FIXME: convert to using 'svn export'
 get-orig-source:
-	tar zcf $(CURDIR)/$(NAME)_$(VERSION).tar.gz --exclude=debian --transform 's,^\./,$(NAME)-$(VERSION)/,' ./*
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	tar zcf ../tarballs/$(NAME)_$(VERSION).orig.tar.gz --exclude=debian --transform 's,^\./,$(NAME)-$(VERSION)/,' ./*
 
 .PHONY: build clean binary-indep binary-arch binary install configure patch unpatch get-orig-source




More information about the Pkg-voip-commits mailing list