[getdp] 14/60: add info pages to getdp

Matteo F. Vescovi mfv at moszumanska.debian.org
Thu Feb 11 10:12:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

mfv pushed a commit to branch master
in repository getdp.

commit 31b0ababc4da513fe110d89686c1c287d0ebe7e1
Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
Date:   Tue Oct 26 07:37:24 2010 +0000

    add info pages to getdp
---
 debian/control               |  5 +++--
 debian/getdp.install         |  1 +
 debian/patches/Makefile.diff | 22 +++++++++++++++++++---
 debian/rules                 |  3 +++
 4 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index d549e71..a8ed21d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: extra
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
 Build-Depends: quilt, cdbs, debhelper (>= 7), autotools-dev, automake, autoconf, gfortran, mpi-default-dev,
- libarpack2-dev, libgsl0-dev, libscotchmetis-dev, libpetsc3.1-dev, libslepc3.1-dev, libhdf5-openmpi-dev (>= 1.8.4), gmsh
+ libarpack2-dev, libgsl0-dev, libscotchmetis-dev, libpetsc3.1-dev, libslepc3.1-dev, libhdf5-openmpi-dev (>= 1.8.4), gmsh,
+ dpkg (>= 1.15.4) | install-info
 Standards-Version: 3.9.1
 Homepage: http://www.geuz.org/getdp
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/getdp/trunk/
@@ -12,7 +13,7 @@ Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/getdp/trunk/
 
 Package: getdp
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info
 Description: general environment for the treatment of discrete problems
  GetDP is a general finite element solver using mixed elements to
  discretize de Rham-type complexes in one, two and three dimensions.
diff --git a/debian/getdp.install b/debian/getdp.install
index 2c64b84..f097d13 100644
--- a/debian/getdp.install
+++ b/debian/getdp.install
@@ -2,3 +2,4 @@ usr/bin/getdp
 usr/share/man/man1/getdp.1
 usr/share/doc/getdp/getdp.html
 usr/share/doc/getdp/demos
+usr/share/info/getdp*
diff --git a/debian/patches/Makefile.diff b/debian/patches/Makefile.diff
index 34f3229..ca12f04 100644
--- a/debian/patches/Makefile.diff
+++ b/debian/patches/Makefile.diff
@@ -1,7 +1,7 @@
-Index: getdp-2.0.0-svn-20100125/Makefile
+Index: getdp-2.1.0/Makefile
 ===================================================================
---- getdp-2.0.0-svn-20100125.orig/Makefile	2010-01-28 11:54:05.000000000 +0100
-+++ getdp-2.0.0-svn-20100125/Makefile	2010-01-28 11:54:10.000000000 +0100
+--- getdp-2.1.0.orig/Makefile	2010-10-25 13:09:49.000000000 +0200
++++ getdp-2.1.0/Makefile	2010-10-25 13:09:49.000000000 +0200
 @@ -37,11 +37,11 @@
  	@for i in ${GETDP_DIRS}; do (cd $$i && ${MAKE}); done
  
@@ -27,3 +27,19 @@ Index: getdp-2.0.0-svn-20100125/Makefile
  
  depend: initialtag
  	mv -f Common/GetDPConfig.h .
+Index: getdp-2.1.0/doc/texinfo/Makefile
+===================================================================
+--- getdp-2.1.0.orig/doc/texinfo/Makefile	2010-10-26 09:04:01.000000000 +0200
++++ getdp-2.1.0/doc/texinfo/Makefile	2010-10-26 09:05:58.000000000 +0200
+@@ -13,8 +13,9 @@
+ 	makeinfo --split-size 1000000 getdp.texi
+ 
+ install-info:
+-	cp getdp.info* /usr/info/
+-	install-info getdp.info /usr/info/dir
++	mkdir -p $(DESTDIR)/usr/share/info/
++	cp getdp.info* $(DESTDIR)/usr/share/info/
++	install-info getdp.info $(DESTDIR)/usr/share/info/dir
+ 
+ infoz: info
+ 	tar zcvf getdp-info.tgz getdp.info*
diff --git a/debian/rules b/debian/rules
index e146e09..cb24ffc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,9 @@ install/getdp::
 	install -m 644 demos/* debian/tmp/usr/share/doc/getdp/demos
 	rm debian/tmp/usr/share/doc/getdp/demos/Makefile
 
+	# install doc
+	cd doc/texinfo && $(MAKE) install-info LC_ALL=C DESTDIR=$(CURDIR)/debian/tmp
+
 install/getdp-sparskit::
 	# unset PETSC var
 	export PETSC_DIR=''

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/getdp.git



More information about the debian-science-commits mailing list