[DebianGIS-dev] r1628 - packages/gmt/branches/4.2.1/debian
frankie at alioth.debian.org
frankie at alioth.debian.org
Fri Jun 13 08:07:30 UTC 2008
Author: frankie
Date: 2008-06-13 08:07:29 +0000 (Fri, 13 Jun 2008)
New Revision: 1628
Modified:
packages/gmt/branches/4.2.1/debian/changelog
packages/gmt/branches/4.2.1/debian/rules
Log:
Fixing man pages clean target
Modified: packages/gmt/branches/4.2.1/debian/changelog
===================================================================
--- packages/gmt/branches/4.2.1/debian/changelog 2008-06-12 18:48:19 UTC (rev 1627)
+++ packages/gmt/branches/4.2.1/debian/changelog 2008-06-13 08:07:29 UTC (rev 1628)
@@ -1,3 +1,10 @@
+gmt (4.2.1-2) unstable; urgency=low
+
+ * Fixed duplicates of man pages in /usr/lib/gmt/man.
+ * Missing man section 3 page added.
+
+ -- Francesco Paolo Lovergine <frankie at debian.org> Thu, 12 Jun 2008 21:11:30 +0200
+
gmt (4.2.1-1) unstable; urgency=low
* New upstream release. There is no more a _man file, all manpages are in _src.
Modified: packages/gmt/branches/4.2.1/debian/rules
===================================================================
--- packages/gmt/branches/4.2.1/debian/rules 2008-06-12 18:48:19 UTC (rev 1627)
+++ packages/gmt/branches/4.2.1/debian/rules 2008-06-13 08:07:29 UTC (rev 1628)
@@ -67,8 +67,7 @@
# that tree.
mkdir -p $(DESTDIR)/usr/lib/gmt/www $(DESTDIR)/usr/share/gmt \
$(DESTDIR)/usr/share/man $(DESTDIR)/usr/include/gmt \
- $(DESTDIR)/usr/share/doc $(DESTDIR)/etc/gmt $(DESTDIR)/usr/bin \
- $(DESTDIR)/usr/share/man/man1
+ $(DESTDIR)/usr/share/doc $(DESTDIR)/etc/gmt $(DESTDIR)/usr/bin
ln -fs ../../share/man $(DESTDIR)/usr/lib/gmt/man
ln -fs ../../include/gmt $(DESTDIR)/usr/lib/gmt/include
ln -fs ../../share/gmt $(DESTDIR)/usr/lib/gmt/share
@@ -99,9 +98,13 @@
sed -e 's/^exec /PATH=\$$PATH:\$${exec_prefix}\/bin exec /' $(DESTDIR)/usr/lib/gmt/bin/GMT >$(DESTDIR)/usr/bin/GMT
rm -f $(DESTDIR)/usr/lib/gmt/bin/GMT
- # Move the manpages directory into the right place...
- for manpage in $(DESTDIR)/usr/lib/gmt/share/man/man1/*.1; do \
- gzip -c $${manpage} >$(DESTDIR)/usr/share/man/man1/`basename $${manpage}`gmt.gz; \
+ # Move the manpages directory into the right place...
+ for section in 1 3; do \
+ mkdir -p $(DESTDIR)/usr/share/man/man$${section}; \
+ for manpage in $(DESTDIR)/usr/lib/gmt/share/man/man$${section}/*.$${section}; do \
+ gzip -c $${manpage} >$(DESTDIR)/usr/share/man/man$${section}/`basename $${manpage}`gmt.gz; \
+ rm -f $${manpage}; \
+ done; \
done
touch $@
@@ -149,5 +152,5 @@
clean:
dh_testdir
dh_testroot
- rm -Rf stamps GMT$(RELEASE)
+ rm -Rf stamps GMT$(RELEASE) GMT
dh_clean
More information about the Pkg-grass-devel
mailing list