diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-04-25 16:38:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-04-25 16:38:08 -0400 |
commit | 56b8944332186891cd5c0094bd3991e3c5f5a799 (patch) | |
tree | 06b0c48e35d5da7b72e37db9ad676558197edff7 | |
parent | 40ab45f59834317a4b2c67840530dfa10cc94529 (diff) |
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 2 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/dirs | 3 | ||||
-rw-r--r-- | debian/docs | 9 | ||||
-rwxr-xr-x | debian/rules | 48 |
7 files changed, 25 insertions, 45 deletions
diff --git a/debian/changelog b/debian/changelog index 479afa7..bf5e8ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,11 @@ -bsdgames (2.17-15) UNRELEASED; urgency=low +bsdgames (2.17-15) unstable; urgency=low * Include rot13 in package description. Closes: #477141 * adventure: Fix crc code to not segfault on 64 bit architectures. Closes: #477768 + * Use debhelper v7, rules file minimisation. - -- Joey Hess <joeyh@debian.org> Mon, 21 Apr 2008 12:37:44 -0400 + -- Joey Hess <joeyh@debian.org> Fri, 25 Apr 2008 16:03:59 -0400 bsdgames (2.17-14) unstable; urgency=low diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..21b9d27 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +temp-dictionary diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index f0ea123..fea4744 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: bsdgames Section: games Priority: optional -Build-Depends: debhelper (>= 4), libncurses5-dev, flex, bison, wamerican, wbritish, dpkg-dev (>= 1.9.0) +Build-Depends: debhelper (>= 7), libncurses5-dev, flex, bison, wamerican, wbritish, dpkg-dev (>= 1.9.0) Maintainer: Joey Hess <joeyh@debian.org> Standards-Version: 3.7.3 Vcs-Git: git://git.kitenet.net/joey/packages/bsdgames diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..96298f3 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,3 @@ +usr/share/doc/bsdgames +usr/share/games/bsdgames/phantasia +var/games/bsdgames/hack/save diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..7513d4f --- /dev/null +++ b/debian/docs @@ -0,0 +1,9 @@ +NEWS +ChangeLog.0 +TODO +README +SECURITY +THANKS +AUTHORS +BUGS +YEAR2000 diff --git a/debian/rules b/debian/rules index df22bf9..50430d1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,36 +1,17 @@ #!/usr/bin/make -f +%: + dh $@ build: build-stamp build-stamp: - dh_testdir - # Set up wordlist cat /usr/share/dict/american-english /usr/share/dict/british-english | \ sort | uniq > temp-dictionary - - ./configure - $(MAKE) - $(MAKE) test + dh build touch build-stamp -clean: - dh_testdir - dh_testroot - rm -f build-stamp - dh_clean temp-dictionary - if [ -e GNUmakefile ]; then $(MAKE) -i distclean; fi - -binary-indep: build - binary-arch: build - dh_testdir - dh_testroot - dh_clean - dh_installdirs usr/share/doc/bsdgames \ - usr/share/games/bsdgames/phantasia \ - var/games/bsdgames/hack/save - - $(MAKE) install + dh binary-arch --until dh_installdocs cp atc/BUGS debian/bsdgames/usr/share/doc/bsdgames/BUGS.atc cp hunt/README debian/bsdgames/usr/share/doc/bsdgames/README.hunt cp phantasia/README debian/bsdgames/usr/share/doc/bsdgames/README.phantasia @@ -42,18 +23,9 @@ binary-arch: build mv debian/bsdgames/var/games/bsdgames/phantasia/monsters \ debian/bsdgames/var/games/bsdgames/phantasia/void \ debian/bsdgames/usr/share/games/bsdgames/phantasia/ - - dh_installdocs ChangeLog ChangeLog.0 TODO README SECURITY THANKS \ - AUTHORS BUGS YEAR2000 cat COPYING >> debian/bsdgames/usr/share/doc/bsdgames/copyright - dh_installexamples - dh_installmenu - dh_installcron - dh_installchangelogs -k NEWS - dh_strip - dh_compress - dh_fixperms - + + dh binary-arch --until dh_fixperms chmod -R u+rw debian/bsdgames/usr/ # Games with score files need to be set up sgid games. chown root:games debian/bsdgames/usr/games/atc \ @@ -89,12 +61,6 @@ binary-arch: build debian/bsdgames/var/games/bsdgames/hack \ debian/bsdgames/var/games/bsdgames/hack/save find debian/bsdgames/var/games/bsdgames -size 0 -exec rm {} \; - - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb + dh binary-arch --remaining binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary |