[dreamchess] 51/80: debian/rules cleanup: Nuke trailing spaces, use quilt.make include.
Markus Koschany
apo-guest at moszumanska.debian.org
Mon Nov 9 20:26:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository dreamchess.
commit 1f1e684148fb4c849d11c3444fbe5e1337ed4d18
Author: Cyril Brulebois <kibi at debian.org>
Date: Sun Jun 8 03:35:22 2008 +0000
debian/rules cleanup: Nuke trailing spaces, use quilt.make include.
---
debian/changelog | 6 ++++++
debian/rules | 17 ++++++++---------
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5f55719..9b1a44d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,4 @@
+
dreamchess (0.2.0-2) unstable; urgency=low
* Remove “-p1” from debian/patches/series since it's useless and since
@@ -7,6 +8,11 @@ dreamchess (0.2.0-2) unstable; urgency=low
keep the Debian diff clean and not to cause an FTBFS with the new
“3.0 (quilt)” source package format. Thanks to Raphaël Hertzog for the
notice (Closes: #484970).
+ * debian/rules cleanup:
+ - Nuke trailing spaces.
+ - Use quilt.make include, and appropriate patch/unpatch dependencies
+ for the config.status and clean target, using an additional
+ realclean target for the latter.
-- Cyril Brulebois <kibi at debian.org> Sun, 08 Jun 2008 05:10:44 +0200
diff --git a/debian/rules b/debian/rules
index 0809215..4285fa9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/quilt/quilt.make
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
@@ -24,9 +25,8 @@ else
CFLAGS += -O2
endif
-config.status: configure
+config.status: patch configure
dh_testdir
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
@@ -46,24 +46,23 @@ build-stamp: config.status
touch build-stamp
-clean:
+clean: realclean unpatch
+realclean:
dh_testdir
dh_testroot
- rm -f build-stamp
+ rm -f build-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- rm -rf .pc
dh_clean config.guess config.sub
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
+
dh_install -pdreamchess debian/dreamchess.xpm usr/share/pixmaps
dh_install -pdreamchess debian/dreamchess.desktop usr/share/applications
@@ -101,4 +100,4 @@ binary-arch: build install
dh_builddeb -a
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/dreamchess.git
More information about the Pkg-games-commits
mailing list