[pkg-fso-commits] [SCM] GSM user space multiplexer (FSO version) branch, debian, updated. debian/0.9.3.1-1-5-g7658165
Luca Capello
luca at pca.it
Sun May 17 16:27:59 UTC 2009
The following commit has been merged in the debian branch:
commit 76581651d50336d0ce4dc06dd97467bfb15477c7
Author: Luca Capello <luca at pca.it>
Date: Sun May 17 18:27:47 2009 +0200
debian/rules: generate the manpage with help2man
diff --git a/debian/changelog b/debian/changelog
index 490d1ed..d5c6091 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ fso-gsm0710muxd (0.9.3.1-3) UNRELEASED; urgency=low
* debian/control:
+ Standards-Version to 3.8.1, no changes needed.
+ fix capitalization for freesmartphone.org.
+ + Build-Depends: on help2man for manpage generation.
+ * 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 b256fd9..4c182f8 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), libglib2.0-dev, libdbus-1-dev, libdbus-glib-1-dev
+Build-Depends: debhelper (>= 7), libglib2.0-dev, libdbus-1-dev, libdbus-glib-1-dev, help2man
Standards-Version: 3.8.1
Homepage: http://freesmartphone.org/
Vcs-Git: git://git.debian.org/git/pkg-fso/fso-gsm0710muxd.git
diff --git a/debian/rules b/debian/rules
index 4f2c774..f1b3d98 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,42 @@
#!/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
+ # upstream -V (version) output is not standard
+ help2man -N -v -V \
+ -n "GSM 07.10 Multiplexer (freesmartphone.org version)" \
+ -S "freesmartphone.org" \
+ -o debian/gsm0710muxd.1 \
+ src/gsm0710muxd
+ sed -i \
+ -e "s/This /gsm0710muxd /" \
+ -e "s/THIS \"/gsm0710muxd \"/g" \
+ debian/gsm0710muxd.1
+ dh_installman debian/gsm0710muxd.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
--
GSM user space multiplexer (FSO version)
More information about the pkg-fso-commits
mailing list