[scottfree] 02/11: Switch to simple dh, compatibility level 10
Stephen Kitt
skitt at moszumanska.debian.org
Fri Jan 20 11:54:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository scottfree.
commit b45b043ee76aa53f4ed62dcb4d43765c899d4cae
Author: Stephen Kitt <steve at sk2.org>
Date: Fri Jan 20 09:14:03 2017 +0100
Switch to simple dh, compatibility level 10
---
debian/changelog | 1 +
debian/clean | 2 ++
debian/compat | 2 +-
debian/control | 2 +-
debian/manpages | 1 +
debian/rules | 58 ++------------------------------------------------------
6 files changed, 8 insertions(+), 58 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f2fbc24..164930d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ scottfree (1.14-10) UNRELEASED; urgency=low
[ Stephen Kitt ]
* Switch to source format 3.0 (quilt).
+ * Switch to simple dh, compatibility level 10.
-- Evgeni Golov <evgeni at debian.org> Mon, 15 Jul 2013 22:22:03 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..45d53b5
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+ScottCurses.o
+scottfree
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+10
diff --git a/debian/control b/debian/control
index 18f79ef..b397b50 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Barry deFreese <bddebian at comcast.net>
Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5.0.0), libncurses5-dev
+Build-Depends: debhelper (>= 10), libncurses5-dev
Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/scottfree/
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/scottfree/
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..393f7b6
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/scottfree.6
diff --git a/debian/rules b/debian/rules
index 771eb6f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,58 +1,4 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-build:
- dh_testdir
- $(MAKE) CFLAGS="$(CFLAGS)"
- touch $@
-
-clean:
- dh_clean
- dh_testdir
- dh_testroot
- rm -f build
- rm -f ScottCurses.o scottfree
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) install DESTDIR=$(CURDIR)/debian/scottfree
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installmenu
- dh_installman debian/scottfree.6
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-arch binary-indep binary install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scottfree.git
More information about the Pkg-games-commits
mailing list