[mathpartir] 04/04: rewrite d/rules, using dh

Ralf Treinen treinen at moszumanska.debian.org
Tue Dec 13 06:39:08 UTC 2016


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

treinen pushed a commit to branch master
in repository mathpartir.

commit e1fce2a1ea67a1c1a39e4a544d5a0db883a89c4f
Author: Ralf Treinen <treinen at free.fr>
Date:   Tue Dec 13 07:25:57 2016 +0100

    rewrite d/rules, using dh
---
 debian/changelog       | 10 ++++++----
 debian/mathpartir.docs |  1 +
 debian/rules           | 44 +++-----------------------------------------
 3 files changed, 10 insertions(+), 45 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0f1fd83..327829d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,14 @@
-mathpartir (1.2.0-6) unstable; urgency=medium
+mathpartir (1.2.0-6) unstable; urgency=low
 
-  * Fix Vcs-Git, use secure URI
-  * Standards-Version 3.9.8 (no change)
+  * Rewrote debian/rules, using dh
+    - add debian/mathpartir.docs
   * Debhelper compatibility level 10:
     - bump debian/compat
     - bump build-dependency on debhelper
+  * Fix Vcs-Git, use secure URI
+  * Standards-Version 3.9.8 (no change)
 
- -- Ralf Treinen <treinen at debian.org>  Mon, 12 Dec 2016 21:09:40 +0100
+ -- Ralf Treinen <treinen at debian.org>  Tue, 13 Dec 2016 07:25:15 +0100
 
 mathpartir (1.2.0-5) unstable; urgency=medium
 
diff --git a/debian/mathpartir.docs b/debian/mathpartir.docs
new file mode 100644
index 0000000..9ebaafb
--- /dev/null
+++ b/debian/mathpartir.docs
@@ -0,0 +1 @@
+mathpartir.html
diff --git a/debian/rules b/debian/rules
index f504b2c..82986ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,48 +1,10 @@
 #!/usr/bin/make -f
-# debian/rules for mathpartir
 
-#export DH_VERBOSE=1
+%:
+	dh  $@ --with=tex
 
-INST=debian/mathpartir
-
-build: build-arch build-indep
-
-build-arch:
-
-build-indep: mathpartir.html
+override_dh_auto_build: mathpartir.html
 
 mathpartir.html:
 	dh_testdir
 	hevea -fix mathpartir.tex
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep 
-	dh_installdirs
-	dh_install
-
-binary-arch:
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs mathpartir.html
-	dh_installtex
-	dh_compress
-	dh_fixperms
-	dh_link
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-
-.PHONY: build build-arch build-indep clean binary-indep binary-arch binary 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