[adonthell] 46/65: Update debian/rules for new release

Markus Koschany apo at moszumanska.debian.org
Tue Jul 12 19:53:58 UTC 2016


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

apo pushed a commit to branch master
in repository adonthell.

commit 36d1ba3654c5519666d00afae9a344e354d59c38
Author: Markus Koschany <apo at debian.org>
Date:   Tue Jul 12 12:19:32 2016 +0200

    Update debian/rules for new release
---
 debian/rules | 25 +++----------------------
 1 file changed, 3 insertions(+), 22 deletions(-)

diff --git a/debian/rules b/debian/rules
index 40f3bc0..0d7f704 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,40 +17,21 @@ CFGDEBUG = ""
 INSTALL = /usr/bin/install -c
 INSTALL_PROGRAM = ${INSTALL} -p -o root -g root  -m 755
 
-PYVERSIONNN:=$(shell pyversions -d -v)
-PYVERSION :=python$(PYVERSIONNN)
-
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-	CXXFLAGS += -g
-	CFGDEBUG = "--enable-py-debug"
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-  CXXFLAGS += -O0
-else
-  CXXFLAGS += -O2
-endif
 
 %:
-	dh $@ --parallel --with autoreconf,python2
+	dh $@ --parallel --with autoreconf,python3
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		--host=$(DEB_HOST_GNU_TYPE) \
-		--build=$(DEB_BUILD_GNU_TYPE) \
 		--prefix=/usr \
 		--mandir=\$${prefix}/share/man \
 		--bindir=\$${prefix}/games \
 		--datadir=\$${prefix}/share/games \
-		--with-py-libs="-Wl,-E -L/usr/lib/$(PYVERSION)/config -l$(PYVERSION) -lpthread -lSDL -lSDL_ttf -lSDL_mixer" \
-		--with-py-cflags="-I/usr/include/$(PYVERSION)" \
-		$(CFGDEBUG)
 
 
 override_dh_auto_build:
-	$(MAKE) CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
+	dh_auto_build
+#	$(MAKE) CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
 
 
 override_dh_auto_install:

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



More information about the Pkg-games-commits mailing list