[Pkg-voip-commits] r3500 - libexosip2/trunk/debian
Mark Purcell
msp at alioth.debian.org
Sat Apr 28 19:18:10 UTC 2007
Author: msp
Date: 2007-04-28 19:18:10 +0000 (Sat, 28 Apr 2007)
New Revision: 3500
Modified:
libexosip2/trunk/debian/rules
Log:
Robust orig-source targets
Modified: libexosip2/trunk/debian/rules
===================================================================
--- libexosip2/trunk/debian/rules 2007-04-28 19:17:02 UTC (rev 3499)
+++ libexosip2/trunk/debian/rules 2007-04-28 19:18:10 UTC (rev 3500)
@@ -4,26 +4,24 @@
# Add here any variable or target overrides you need
-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 = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+URL = http://download.savannah.nongnu.org/releases/exosip/libeXosip2-$(DEB_UPSTREAM_VERSION).tar.gz
-FILENAME := libexosip2_$(UPVERSION).orig.tar.gz
-URL := http://download.savannah.nongnu.org/releases/exosip/libeXosip2-$(UPVERSION).tar.gz
-
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
-DEB_MAKE_BUILD_TARGET := doxygen
DEB_CONFIGURE_EXTRA_FLAGS := --disable-josua
+build/libexosip2-doc::
+ $(MAKE) doxygen
clean::
rm -rf help/doxygen/doc
print-version:
- @@echo "Debian version: $(DEBVERSION)"
- @@echo "Upstream version: $(UPVERSION)"
+ @@echo "DEB_UPSTREAM_VERSION: $(DEB_UPSTREAM_VERSION)"
+ @@echo "Filename: $(FILENAME)"
+ @@echo "URL: $(URL)"
get-orig-source:
@@dh_testdir
More information about the Pkg-voip-commits
mailing list