[minetest-v04x] 02/02: Use dh_auto_configure command to pass on build flags. Do not call cmake
Markus Koschany
apo-guest at moszumanska.debian.org
Mon Jan 26 19:35:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository minetest-v04x.
commit cc59ca1488ea4b3ac31e4a86faf7034e7c64b87b
Author: Markus Koschany <apo at gambaru.de>
Date: Mon Jan 26 20:15:53 2015 +0100
Use dh_auto_configure command to pass on build flags. Do not call cmake
manually.
---
debian/rules | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index c87a29d..9d3aaea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,10 +54,8 @@ override_dh_auto_clean:
rm -rf ${cleanremovals}
override_dh_auto_configure:
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
- cmake -DRUN_IN_PLACE=0 \
+ dh_auto_configure -- \
+ -DRUN_IN_PLACE=0 \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DENABLE_GETTEXT=1 \
-DENABLE_FREETYPE=1 \
@@ -67,7 +65,7 @@ override_dh_auto_configure:
-DLEVELDB_INCLUDE_DIR=/usr/include/leveldb \
-DCUSTOM_LOCALEDIR=/usr/share/locale \
-DCUSTOM_SHAREDIR=/usr/share/games/minetest \
- -DCMAKE_INSTALL_PREFIX=/usr .
+ -DCMAKE_INSTALL_PREFIX=/usr
override_dh_installchangelogs:
dh_installchangelogs debian/changelog.upstream
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/minetest-v04x.git
More information about the Pkg-games-commits
mailing list