[Pkg-scicomp-commits] lapack/trunk/debian
Rafael Laboissiere
rafael at debian.org
Sat Mar 21 22:16:03 UTC 2009
SVN commit 4293 by rafael:
Install man pages in /usr/share/man/man3/*.3lapack.gz
M +8 -0 lapack/trunk/debian/changelog
M +1 -1 lapack/trunk/debian/liblapack-doc.manpages
M +6 -8 lapack/trunk/debian/rules
--- lapack/trunk/debian/changelog #4292:4293
@@ -1,3 +1,11 @@
+lapack (3.2.0-3) UNRELEASED; urgency=low
+
+ * debian/rules, liblapack-doc.manpages: Install man pages of the API
+ functions in /usr/share/man/man3 using .3lapack as extension. This
+ should completely avoid clashes with other packages. Closes: #520460.
+
+ -- Rafael Laboissiere <rafael at debian.org> Sat, 21 Mar 2009 18:40:03 +0100
+
lapack (3.2.0-2) unstable; urgency=low
[ Rafael Laboissiere ]
--- lapack/trunk/debian/liblapack-doc.manpages #4292:4293
@@ -1 +1 @@
-man/manl/*.3
+man/manl/*.3lapack
--- lapack/trunk/debian/rules #4292:4293
@@ -59,14 +59,15 @@
mv tmp $@
MF:=$(shell find man -type f)
-MF3:=$(subst .l,.3,$(MF))
+MANEXT:=3lapack
+MF3:=$(subst .l,.$(MANEXT),$(MF))
man:
cd debian && wget -N ftp://ftp.netlib.org/lapack/manpages.tgz
tar zxf debian/manpages.tgz
rm -rf debian/manpages.tgz blas/man
-%.3: %.l
- cat $< | sed "s,^.TH *\([^ ]*\) *l *\(.*\),.TH \1 3 \2,1" >$@
+%.$(MANEXT): %.l
+ cat $< | sed "s,^.TH *\([^ ]*\) *. *\(.*\),.TH \1 $(MANEXT) \2,1" >$@
@echo Converted $< to $@, diff:
diff -u $< $@ || true
@@ -239,11 +240,8 @@
IF:=$(IF) $(addprefix debian/tmp/usr/lib/liblapack3gf/,$(subst testing/,,$(TB)))
install: $(IF) $(MF3) debian/test_results debian/liblapack3gf.templates
-# File renamed to avoid conflict with blas (see #500660)
- mv man/manl/xerbla.3 man/manl/xerbla-lapack.3
- mv man/manl/lsame.3 man/manl/lsame-lapack.3
# Delete the empty man page
- mv man/manl/zbcon.*
+ rm man/manl/zbcon.$(MANEXT)
dh_testdir
dh_testroot
dh_movefiles
@@ -260,7 +258,7 @@
dh_testdir
dh_testroot
rm -rf debian/*_stamp debian/*_results lib* testing/*out
- find man -name "*.3" -exec rm {} \;
+ find man -name "*.$(MANEXT)" -exec rm {} \;
rm -rf *.a install/test* debian/test/ debian/time/
rm -f debian/test_results debian/liblapack3gf.templates
rm -f testing/tmp
More information about the Pkg-scicomp-commits
mailing list