[mathpartir] 02/02: install doc as pdf, not dvi

Ralf Treinen treinen at moszumanska.debian.org
Sat Oct 11 20:02:38 UTC 2014


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

treinen pushed a commit to annotated tag debian/1.2.0-4
in repository mathpartir.

commit e84af79e060fcc214f2b0ec5e15ffefac0951189
Author: Ralf Treinen <treinen at free.fr>
Date:   Sat Oct 11 21:55:56 2014 +0200

    install doc as pdf, not dvi
---
 debian/changelog           | 4 +++-
 debian/mathpartir.doc-base | 4 ++--
 debian/mathpartir.install  | 3 +++
 debian/mathpartir.links    | 2 +-
 debian/rules               | 5 +----
 5 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f840977..e0ec486 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,10 @@ mathpartir (1.2.0-4) unstable; urgency=low
   * debian/copyright: machine-readable format 1.0
   * debian/control: updated home page
   * install documentation under /usr/share/texmf/doc/latex/mathpartir/
+  * install documentation in pdf, not dvi
+  * use dh_install to install files
 
- -- Ralf Treinen <treinen at debian.org>  Sat, 11 Oct 2014 11:10:50 +0200
+ -- Ralf Treinen <treinen at debian.org>  Sat, 11 Oct 2014 22:00:50 +0200
 
 mathpartir (1.2.0-3) unstable; urgency=low
 
diff --git a/debian/mathpartir.doc-base b/debian/mathpartir.doc-base
index 5ef5f52..bd78c27 100644
--- a/debian/mathpartir.doc-base
+++ b/debian/mathpartir.doc-base
@@ -8,5 +8,5 @@ Format: HTML
 Index: /usr/share/doc/mathpartir/mathpartir.html
 Files: /usr/share/doc/mathpartir/mathpartir.html
 
-Format: DVI
-Files: /usr/share/texmf/doc/latex/mathpartir/mathpartir.dvi.gz
+Format: PDF
+Files: /usr/share/texmf/doc/latex/mathpartir/mathpartir.pdf
diff --git a/debian/mathpartir.install b/debian/mathpartir.install
new file mode 100644
index 0000000..1f0b233
--- /dev/null
+++ b/debian/mathpartir.install
@@ -0,0 +1,3 @@
+mathpartir.sty /usr/share/texmf/tex/latex/mathpartir
+mathpartir.tex /usr/share/texmf/doc/latex/mathpartir
+mathpartir.pdf /usr/share/texmf/doc/latex/mathpartir
diff --git a/debian/mathpartir.links b/debian/mathpartir.links
index 766bf9a..08af0eb 100644
--- a/debian/mathpartir.links
+++ b/debian/mathpartir.links
@@ -1 +1 @@
-/usr/share/texmf/doc/latex/mathpartir/mathpartir.dvi.gz /usr/share/doc/mathpartir/mathpartir.dvi.gz
+/usr/share/texmf/doc/latex/mathpartir/mathpartir.pdf /usr/share/doc/mathpartir/mathpartir.dvi.gz
diff --git a/debian/rules b/debian/rules
index 8c0cc8f..6f71ee9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,10 +26,7 @@ install: build
 	dh_testroot
 	dh_prep 
 	dh_installdirs
-	cp mathpartir.sty $(INST)/usr/share/texmf/tex/latex/mathpartir
-	cp mathpartir.tex $(INST)/usr/share/texmf/doc/latex/mathpartir
-	gzip mathpartir.dvi --stdout > \
-		$(INST)/usr/share/texmf/doc/latex/mathpartir/mathpartir.dvi.gz
+	dh_install
 
 binary-arch: build install
 

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



More information about the debian-science-commits mailing list