[SCM] Debian packaging for latexdiff branch, master, updated. debian/0.5-4-18-g1c1438a

gregor herrmann gregoa at debian.org
Wed Mar 20 16:57:17 UTC 2013


The following commit has been merged in the master branch:
commit 5647dc635ce9d2050bff9bf09bcf6910edbc7132
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Mar 20 17:45:52 2013 +0100

    Fix hashbang in example script.

diff --git a/debian/rules b/debian/rules
index cec3b30..9766938 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %.1: %
 	pod2man $< $@
 
@@ -10,3 +13,7 @@ override_dh_auto_build: latexdiff.1  latexdiff-vc.1  latexrevise.1 latexdiff-man
 
 latexdiff-man.pdf: doc/latexdiff-man.tex debian/Makefile.manual
 	make -f debian/Makefile.manual latexdiff-man.pdf
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#! /bin/env python|#!/usr/bin/python|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/contrib/latexchanges.py

-- 
Debian packaging for latexdiff



More information about the Pkg-perl-cvs-commits mailing list