[Pkg-mol-commits] r71 - in mol/trunk/debian: . debian.mol-modules-source

Gaudenz Steinlin gaudenz at costa.debian.org
Tue Oct 3 01:22:12 UTC 2006


Author: gaudenz
Date: 2006-10-03 01:22:11 +0000 (Tue, 03 Oct 2006)
New Revision: 71

Added:
   mol/trunk/debian/debian.mol-modules-source/changelog.m4.m4
Removed:
   mol/trunk/debian/debian.mol-modules-source/changelog.m4
Modified:
   mol/trunk/debian/rules
Log:
add correct version number to mol-modules-source's debian/changelog


Deleted: mol/trunk/debian/debian.mol-modules-source/changelog.m4
===================================================================
--- mol/trunk/debian/debian.mol-modules-source/changelog.m4	2006-10-02 22:16:53 UTC (rev 70)
+++ mol/trunk/debian/debian.mol-modules-source/changelog.m4	2006-10-03 01:22:11 UTC (rev 71)
@@ -1,6 +0,0 @@
-mol-modules-KVERS (0.9.70+KDREV) unstable; urgency=low
-
-  * Built from the mol-modules-source package.
-
- -- KMAINT <KEMAIL>  DEBDATE
-

Copied: mol/trunk/debian/debian.mol-modules-source/changelog.m4.m4 (from rev 61, mol/trunk/debian/debian.mol-modules-source/changelog.m4)
===================================================================
--- mol/trunk/debian/debian.mol-modules-source/changelog.m4.m4	                        (rev 0)
+++ mol/trunk/debian/debian.mol-modules-source/changelog.m4.m4	2006-10-03 01:22:11 UTC (rev 71)
@@ -0,0 +1,6 @@
+mol-modules-KVERS (MOL_VERSION+KDREV) unstable; urgency=low
+
+  * Built from the mol-modules-source package.
+
+ -- KMAINT <KEMAIL>  DEBDATE
+

Modified: mol/trunk/debian/rules
===================================================================
--- mol/trunk/debian/rules	2006-10-02 22:16:53 UTC (rev 70)
+++ mol/trunk/debian/rules	2006-10-03 01:22:11 UTC (rev 71)
@@ -15,6 +15,9 @@
 libdir=/usr/lib/mol \
 docdir=/usr/share/doc/mol
 
+# Debian package version
+VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d " " -f 2)
+
 configure: configure-stamp
 configure-stamp: patch
 	dh_testdir
@@ -95,6 +98,8 @@
 
 # add the Debian directory and the top-level Makefile
 	cp -pr debian/debian.mol-modules-source modules/mol/debian
+	m4 -DMOL_VERSION=$(VERSION) < modules/mol/debian/changelog.m4.m4 > modules/mol/debian/changelog.m4
+	rm modules/mol/debian/changelog.m4.m4
 	cp -p debian/Makefile.mol-modules-source modules/mol/Makefile
 
 # set correct permissions




More information about the Pkg-mol-commits mailing list