[fenix-plugins] 45/60: Use dh --with autotools_dev to handle config.guess and config.sub.

Peter Pentchev roam at ringlet.net
Mon Dec 21 14:16:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository fenix-plugins.

commit a08fb724f3d58d6378a59e966b8598dd2bc15af7
Author: Peter Pentchev <roam at ringlet.net>
Date:   Fri Feb 26 23:44:19 2010 +0000

    Use dh --with autotools_dev to handle config.guess and config.sub.
---
 debian/changelog                  |  2 +-
 debian/control                    |  3 ++-
 debian/patches/01-fullclean.patch | 16 ++++++++++++++++
 debian/patches/series             |  1 +
 debian/rules                      |  7 ++-----
 5 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d555771..2d0738f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,6 @@
 fenix-plugins (0.0.20070803-4) UNRELEASED; urgency=low
 
   TODO: debhelper: overrides, then 8
-  TODO: dh --with autotools_dev
   TODO: dpkg-buildflags
 
   [ Miriam Ruiz ]
@@ -29,6 +28,7 @@ fenix-plugins (0.0.20070803-4) UNRELEASED; urgency=low
   * Bump Standards-Version to 3.9.1 with no changes.
   * Bump the debhelper compatibility level to 7:
     - shorten the rules file using the dh(1) helper
+    - use "dh --with autotools_dev" to handle config.guess and config.sub
 
  -- Peter Pentchev <roam at ringlet.net>  Thu, 25 Nov 2010 16:09:06 +0200
 
diff --git a/debian/control b/debian/control
index 9b531f1..d549a0b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: devel
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Barry deFreese <bdefreese at debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake1.10 | automake1.9,
+Build-Depends: debhelper (>= 7.0.8), autotools-dev (>= 20100122.1~),
+ autoconf, automake1.10 | automake1.9,
  zlib1g-dev, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev,
  libsmpeg-dev, libfreetype6-dev, fenix, fenix-dev, libtool
 Standards-Version: 3.9.1
diff --git a/debian/patches/01-fullclean.patch b/debian/patches/01-fullclean.patch
new file mode 100644
index 0000000..3921b36
--- /dev/null
+++ b/debian/patches/01-fullclean.patch
@@ -0,0 +1,16 @@
+Description: Adapt the "fullclean" target to the Debian build system.
+Forwarded: not-needed
+Author: Peter Pentchev <roam at ringlet.net>
+Last-Update: 2010-11-26
+
+--- a/Makefile
++++ b/Makefile
+@@ -7,7 +7,7 @@
+ 
+ fullclean: distclean
+ 	rm -f */aclocal.m4 */configure */Makefile.in
+-	rm -f */config.guess */config.sub */config.status */config.log
++	rm -f */config.status */config.log */ltmain.sh
+ 
+ distclean: clean_tests
+ 	@printf "\n == CLEAN: $@ ==\n\n"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..13895ac
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-fullclean.patch
diff --git a/debian/rules b/debian/rules
index 32f5c52..7e031f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,11 +19,9 @@ PLUGINS = \
 
 build: build-stamp
 build-stamp:
-	dh build --before auto_build
+	dh build --before auto_build --with autotools_dev
 	for i in */ ; do \
 		if [ -e "$$i/configure.ac" ]; then \
-			cp -f /usr/share/misc/config.sub "$$i/config.sub" ; \
-			cp -f /usr/share/misc/config.guess "$$i/config.guess" ; \
 			cp -f /usr/share/libtool/config/ltmain.sh "$$i/ltmain.sh" ; \
 		fi \
 	done
@@ -37,8 +35,7 @@ build-stamp:
 clean:
 	dh $@ --before auto_clean
 	dh_auto_clean -- fullclean
-	rm -f */ltmain.sh
-	dh $@ --remaining
+	dh $@ --remaining --with autotools_dev
 
 install: build
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/fenix-plugins.git



More information about the Pkg-games-commits mailing list