[Pkg-fglrx-devel] r316 - fglrx-driver/trunk/debian

Patrick Matthäi pmatthaei at alioth.debian.org
Mon Nov 2 21:45:08 UTC 2009


Author: pmatthaei
Date: 2009-11-02 21:45:07 +0000 (Mon, 02 Nov 2009)
New Revision: 316

Modified:
   fglrx-driver/trunk/debian/rules
Log:
Fix some failures.


Modified: fglrx-driver/trunk/debian/rules
===================================================================
--- fglrx-driver/trunk/debian/rules	2009-11-02 21:28:11 UTC (rev 315)
+++ fglrx-driver/trunk/debian/rules	2009-11-02 21:45:07 UTC (rev 316)
@@ -23,7 +23,7 @@
 endif
 
 VERSION := $(shell dpkg-parsechangelog|egrep '^Version:'|cut -d' ' -f2|cut -d':' -f2)
-UPSTREAM_VERSION := $(shell dpkg-parsechangelog|egrep '^Version:'|cut -d' ' -f2|cut -d':' -f2|sed 's/-.+*$//')
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog|grep "^Version:"|cut -d" " -f2|rev|cut -d- -f2-|rev|cut -d':' -f2)
 
 KSRCDIR  := usr/src/modules/fglrx
 DKMSBASE	:= usr/src/fglrx-VERSION
@@ -158,6 +158,7 @@
 	dh_gencontrol -p$(PKG_glx)
 	dh_gencontrol -p$(PKG_source)
 	dh_gencontrol -p$(PKG_daemon)
+	dh_gencontrol -p$(PKG_dkms)
 ifeq ($(DEB_BUILD_ARCH),amd64)
 	dh_gencontrol -p$(PKG_glx_ia32)
 	dh_builddeb -p$(PKG_glx_ia32)
@@ -167,6 +168,7 @@
 	dh_builddeb -p$(PKG_glx)
 	dh_builddeb -p$(PKG_source)
 	dh_builddeb -p$(PKG_daemon)
+	dh_builddeb -p$(PKG_dkms)
 
 binary-indep: build
 




More information about the Pkg-fglrx-devel mailing list