[pkg-fso-commits] [SCM] gpsd for fso branch, debian, updated. debian/0.8-2-9-g29cfade

Luca Capello luca at pca.it
Sun May 17 18:12:56 UTC 2009


The following commit has been merged in the debian branch:
commit 29cfade661c096dd9e5ce0cb471d9449b5baaafd
Author: Luca Capello <luca at pca.it>
Date:   Sun May 17 20:12:54 2009 +0200

    debian/rules: generate the manpage with help2man

diff --git a/debian/changelog b/debian/changelog
index 8918ec8..c8c2981 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,11 +6,15 @@ fso-gpsd (0.8-3) UNRELEASED; urgency=low
     + Standards-Version to 3.8.1.
     + add myself to Uploaders:.
     + use freesmartphone.org instead of the FSO acronym.
+    + Build-Depends: on help2man for manpage generation.
   * debian/copyright:
     + update Debian copyright assignment to 2009.
     + add myself for the Debian packaging.
   * debian/fso-gpsd.init:
     + add --oknodo to start case (Standards-Version 3.8.1).
+  * debian/rules:
+    + generate the manpage, thanks to lintian (this unfortunately
+      required a more verbose rules file).
   * debian/watch:
     + new file, thanks to lintian.
 
diff --git a/debian/control b/debian/control
index fb14edd..7ec1c8c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
 Priority: extra
 Maintainer: Debian freesmartphone.org Team <pkg-fso-maint at lists.alioth.debian.org>
 Uploaders: Joachim Breitner <nomeata at debian.org>, Luca Capello <luca at pca.it>
-Build-Depends: debhelper (>= 7), libdbus-1-dev, libglib2.0-dev, libdbus-glib-1-dev
+Build-Depends: debhelper (>= 7), libdbus-1-dev, libglib2.0-dev, libdbus-glib-1-dev, help2man
 Standards-Version: 3.8.1
 Vcs-Git: git://git.debian.org/git/pkg-fso/fso-gpsd.git
 Vcs-Browser: http://git.debian.org/?p=pkg-fso/fso-gpsd.git;a=summary
diff --git a/debian/rules b/debian/rules
index 4f2c774..1ae977f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,38 @@
 #!/usr/bin/make -f
-%:
-	dh $@
+
+
+build: build-stamp
+build-stamp:
+	dh build
+	touch build-stamp
+
+clean:
+	rm -f build-stamp
+	rm -f install-stamp
+	dh clean
+
+install: build install-stamp
+install-stamp:
+	# Run this first
+	dh install --until dh_auto_install
+
+	# generate the manpage, thanks to lintian
+	help2man -N -v -V \
+		-n "gpsd compatibility daemon for the freesmarpthone.org frameworkd" \
+		-S "freesmartphone.org" \
+		-o debian/fso-gpsd.1 \
+		./fso-gpsd
+	dh_installman debian/fso-gpsd.1
+
+	# continue with automatic installation
+	dh install --after dh_auto_install
+	touch install-stamp
+
+binary-arch: install
+	dh binary-arch
+
+binary-indep: install
+	dh binary-indep
+
+binary: binary-arch binary-indep
 

-- 
gpsd for fso



More information about the pkg-fso-commits mailing list