Control: tags -1 patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/compat: Bump to 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.
* debian/rules:
- Add recommended build-arch and build-indep targets.
- Use dh_prep instead of dh_clean -k.
Thanks for considering the patch.
Logan Rosen
diff -u dvidvi-1.0/debian/control dvidvi-1.0/debian/control
--- dvidvi-1.0/debian/control
+++ dvidvi-1.0/debian/control
@@ -3,11 +3,11 @@
Priority: optional
Maintainer: Lionel Elie Mamane <[email protected]>
Standards-Version: 3.7.2.2
-Build-Depends: debhelper (>= 4)
+Build-Depends: debhelper (>= 9)
Package: dvidvi
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
Replaces: texlive-extra-utils (<< 2005.dfsg.2-12)
Description: Manipulate .dvi files
Allows you to select, change the order, and/or shift the pages in
diff -u dvidvi-1.0/debian/compat dvidvi-1.0/debian/compat
--- dvidvi-1.0/debian/compat
+++ dvidvi-1.0/debian/compat
@@ -1 +1 @@
-4
+9
diff -u dvidvi-1.0/debian/rules dvidvi-1.0/debian/rules
--- dvidvi-1.0/debian/rules
+++ dvidvi-1.0/debian/rules
@@ -2,7 +2,9 @@
CFLAGS := -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
-build: dvidvi
+build: build-arch build-indep
+build-arch: dvidvi
+build-indep: dvidvi
clean:
dh_testdir
@@ -12,7 +14,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
dh_install dvidvi debian/a5booklet usr/bin
@@ -38 +40 @@
-.PHONY: build clean binary binary-arch binary-indep install
+.PHONY: build build-arch build-indep clean binary binary-arch binary-indep install