[adonthell] 53/65: More updates for debian/rules
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 c1e23ef9cf01555f26c51a975e91cff23dcc898e
Author: Markus Koschany <apo at debian.org>
Date: Tue Jul 12 12:47:30 2016 +0200
More updates for debian/rules
---
debian/rules | 33 +--------------------------------
1 file changed, 1 insertion(+), 32 deletions(-)
diff --git a/debian/rules b/debian/rules
index d165cd5..bceab18 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,6 @@
#!/usr/bin/make -f
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
#export DH_VERBOSE=1
-
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-# If you manage to fix the issues mentioned in README.source, you should
-# probably replace the current CXXFLAGS variable with the old one again and
-# remove src/modules/adonthell.py src/py_adonthell_wrap.cc in override_dh_clean.
-# CXXFLAGS += -Wall -fno-exceptions -DSWIG_GLOBAL -DDATA_DIR=\"\\\"/usr/share/games/adonthell\"\\\"
-CXXFLAGS += -Wall -fno-exceptions -DDATA_DIR=\"\\\"/usr/share/games/adonthell\"\\\"
-CFGDEBUG = ""
-INSTALL = /usr/bin/install -c
-INSTALL_PROGRAM = ${INSTALL} -p -o root -g root -m 755
-
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --parallel --with autoreconf,python3
@@ -30,13 +14,7 @@ override_dh_auto_configure:
--disable-pyc
-override_dh_auto_build:
- dh_auto_build
-# $(MAKE) CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
-
-
override_dh_auto_install:
- $(MAKE) install DESTDIR="$(CURDIR)/debian/adonthell" INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
#Remove the symlink and change binary name back to adonthell
rm -f $(CURDIR)/debian/adonthell/usr/games/adonthell
mv $(CURDIR)/debian/adonthell/usr/games/adonthell-0.3 \
@@ -44,12 +22,3 @@ override_dh_auto_install:
# Remove empty directories
find . -type d -empty -delete
-override_dh_clean:
- [ ! -f Makefile ] || $(MAKE) distclean
- -rm -f `find . -name "*~"`
- -rm -f src/adonthell.pyc
- rm -f config.guess config.sub
- # drop files generated by SWIG
- #rm -f src/modules/adonthell.py src/py_adonthell_wrap.cc
- dh_clean
-
--
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