[Python-apps-commits] r3400 - in packages/txt2tags/trunk (5 files)
jmw-guest at users.alioth.debian.org
jmw-guest at users.alioth.debian.org
Sat Aug 8 22:50:22 UTC 2009
Date: Saturday, August 8, 2009 @ 22:50:21
Author: jmw-guest
Revision: 3400
Install manual pages in all supplied languages (using a makefile and dh_installman)
Added:
packages/txt2tags/trunk/debian/manpages
packages/txt2tags/trunk/doc/
packages/txt2tags/trunk/doc/Makefile
Modified:
packages/txt2tags/trunk/debian/changelog
packages/txt2tags/trunk/debian/rules
Modified: packages/txt2tags/trunk/debian/changelog
===================================================================
--- packages/txt2tags/trunk/debian/changelog 2009-08-08 17:57:01 UTC (rev 3399)
+++ packages/txt2tags/trunk/debian/changelog 2009-08-08 22:50:21 UTC (rev 3400)
@@ -24,8 +24,10 @@
* Make debian/watch use the qa.debian.org SourceForge redirector
* Bring txt2tags into the Python Applications Packaging Team and set
appropriate uploaders
+ * Install manual pages in all supplied languages (using a makefile and
+ dh_installman)
- -- Jonathan Wiltshire <debian at jwiltshire.org.uk> Fri, 07 Aug 2009 09:38:55 +0100
+ -- Jonathan Wiltshire <debian at jwiltshire.org.uk> Sat, 08 Aug 2009 23:49:09 +0100
txt2tags (2.3-1) unstable; urgency=low
Added: packages/txt2tags/trunk/debian/manpages
===================================================================
--- packages/txt2tags/trunk/debian/manpages (rev 0)
+++ packages/txt2tags/trunk/debian/manpages 2009-08-08 22:50:21 UTC (rev 3400)
@@ -0,0 +1 @@
+doc/*.1
Modified: packages/txt2tags/trunk/debian/rules
===================================================================
--- packages/txt2tags/trunk/debian/rules 2009-08-08 17:57:01 UTC (rev 3399)
+++ packages/txt2tags/trunk/debian/rules 2009-08-08 22:50:21 UTC (rev 3400)
@@ -12,6 +12,11 @@
rm -f txt2tags.1
dh_clean
+build:
+ dh_testdir
+ dh_prep
+ cd doc && $(MAKE) $@
+
install: build
dh_testdir
dh_testroot
@@ -19,9 +24,7 @@
dh_installdirs
install -o root -m 755 "txt2tags" "debian/txt2tags/usr/bin/txt2tags"
cd po && $(MAKE) install BASEDIR=$(CURDIR)/debian/txt2tags
- cp doc/manpage.man txt2tags.1
-
# Build architecture-independent files here.
binary-indep: install
dh_testdir
@@ -29,7 +32,7 @@
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
- dh_installman txt2tags.1
+ dh_installman
dh_compress
dh_fixperms
dh_installdeb
Added: packages/txt2tags/trunk/doc/Makefile
===================================================================
--- packages/txt2tags/trunk/doc/Makefile (rev 0)
+++ packages/txt2tags/trunk/doc/Makefile 2009-08-08 22:50:21 UTC (rev 3400)
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#
+# Copyright (C) 2009 Jonathan Wiltshire
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+PACKAGE = txt2tags
+SECTION = 1
+
+PAGES = manpage-ca.man manpage-it.man manpage-es.man manpage.man \
+ manpage-zh.man manpage-fr.man manpage-pt.man
+
+clean:
+ rm *.$(SECTION)
+
+build:
+ for p in $(PAGES); do \
+ s=`basename $$p .man | sed -e 's/manpage/$(PACKAGE)/;s/-/./'`; \
+ cp "$$p" "$$s.$(SECTION)"; \
+ done
More information about the Python-apps-commits
mailing list