[unshield] 08/30: Use dh rules.tiny for debian/rules
Evgeni Golov
evgeni at moszumanska.debian.org
Sun Dec 27 11:05:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
evgeni pushed a commit to branch master
in repository unshield.
commit 3480e900ebfbab5657675de7203ec4d5c856043a
Author: Evgeni Golov <evgeni at golov.de>
Date: Sat Apr 30 12:36:30 2011 +0200
Use dh rules.tiny for debian/rules
---
debian/changelog | 3 +-
debian/rules | 84 ++------------------------------------------------------
2 files changed, 4 insertions(+), 83 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4245e74..3fdbd8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ unshield (0.6-2) unstable; urgency=low
* Fix Vcs-Git field.
* Drop .la file.
+ * Use dh rules.tiny for debian/rules.
- -- Evgeni Golov <evgeni at debian.org> Sat, 30 Apr 2011 12:32:15 +0200
+ -- Evgeni Golov <evgeni at debian.org> Sat, 30 Apr 2011 12:36:04 +0200
unshield (0.6-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index c03d1c1..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,83 +1,3 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
-
- ./configure --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -f config.sub config.guess
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/unshield.
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
-
-# 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 ChangeLog
- dh_installdocs
- dh_installexamples
- dh_install --list-missing
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs --version-info
- dh_installdeb
- dh_shlibdeps -L libunshield0 -l debian/libunshield0/usr/lib
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/unshield.git
More information about the Pkg-games-commits
mailing list