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

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sun Oct 28 22:51:09 UTC 2007


Author: tzafrir-guest
Date: Sun Oct 28 22:51:09 2007
New Revision: 4789

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4789
Log:
Get rid of some cruft in debian/rules.

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=4789&op=diff
==============================================================================
--- freepbx-modules/trunk/debian/rules (original)
+++ freepbx-modules/trunk/debian/rules Sun Oct 28 22:51:09 2007
@@ -10,20 +10,6 @@
 # export DH_VERBOSE=1
 
 -include /usr/share/dpatch/dpatch.make
-
-MODULE_NAME=$(shell basename $(PWD))
-DESTDIR=../tarballs/$(MODULE_NAME)
-DEBVERSION=$(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-UPVERSION=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/-~dfsg$$//')
-FILENAME=$(MODULE_NAME)_$(UPVERSION).tar.gz
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
 
 configure: configure-stamp
 configure-stamp: patch-stamp
@@ -74,14 +60,6 @@
 	dh_md5sums
 	dh_builddeb
 
-# a hack, not really a solution
-get-orig-source:
-	rm -fr $(DESTDIR)
-	svn export . $(DESTDIR)
-	tar -czf  $(FILENAME) -C $(DESTDIR) .
-	rm -fr $(DESTDIR)
-	mv $(FILENAME) ../tarballs/
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure patch
 	




More information about the Pkg-voip-commits mailing list