Refresh Debian packaging, bring it to 2014
authorMichael Prokop <mika@grml.org>
Thu, 3 Apr 2014 08:35:50 +0000 (10:35 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 3 Apr 2014 10:02:42 +0000 (12:02 +0200)
Makefile [new file with mode: 0644]
debian/compat
debian/control
debian/rules
debian/zsh-lovers.manpages [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..a328348
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+all:
+       # html:
+       asciidoc zsh-lovers.1.txt
+       mv zsh-lovers.1.html zsh-lovers.html
+
+       # manpage:
+       a2x -f manpage zsh-lovers.1.txt
+
+       # pdf:
+       a2x -f pdf zsh-lovers.1.txt
+       mv zsh-lovers.1.pdf zsh-lovers.pdf
+
+clean:
+       rm -f zsh-lovers.1 zsh-lovers.html zsh-lovers.pdf
+
index b8626c4..45a4fb7 100644 (file)
@@ -1 +1 @@
-4
+8
index dda885f..b12a0ad 100644 (file)
@@ -2,9 +2,9 @@ Source: zsh-lovers
 Section: doc
 Priority: optional
 Maintainer: Michael Prokop <mika@grml.org>
-Build-Depends: debhelper (>= 4.0.0)
+Build-Depends: debhelper (>= 8.0.0)
 Build-Depends-Indep: asciidoc, fop
-Standards-Version: 3.8.0
+Standards-Version: 3.9.5
 Homepage: http://grml.org/zsh/
 Vcs-git: git://git.grml.org/zsh-lovers.git
 Vcs-Browser: http://git.grml.org/?p=zsh-lovers.git
index 6bd3ccd..b423719 100755 (executable)
@@ -1,58 +1,7 @@
 #!/usr/bin/make -f
 
-build: build-stamp
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
 
-build-stamp: 
-       dh_testdir
-
-        # html:
-       asciidoc zsh-lovers.1.txt
-       mv zsh-lovers.1.html zsh-lovers.html
-
-        # manpage:
-       a2x -f manpage zsh-lovers.1.txt
-
-        # pdf:
-       #  notice: current version of fop (1:0.93.dfsg.1-2) is horrible broken
-       #  download http://snapshot.debian.net/archive/2005/10/15/debian/pool/contrib/f/fop/fop_0.20.5-8_all.deb
-       #  to work around this bug
-       a2x -f pdf zsh-lovers.1.txt
-       mv zsh-lovers.1.pdf zsh-lovers.pdf
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f zsh-lovers.1 zsh-lovers.1.fo zsh-lovers.1.xml zsh-lovers.html zsh-lovers.pdf
-       rm -f build-stamp
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs usr/share/man/man1
-
-binary-arch: build install
-       # We have nothing to do
-
-binary-indep: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs
-       dh_installman zsh-lovers.1
-       dh_link
-       dh_compress
-       mkdir -p debian/zsh-lovers/usr/share/lintian/overrides/
-       cp -av debian/overrides debian/zsh-lovers/usr/share/lintian/overrides/zsh-lovers
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+       dh $@
diff --git a/debian/zsh-lovers.manpages b/debian/zsh-lovers.manpages
new file mode 100644 (file)
index 0000000..95080e5
--- /dev/null
@@ -0,0 +1 @@
+zsh-lovers.1