[mapnik] 14/14: Fake scons.py
Jérémy Lal
kapouer at moszumanska.debian.org
Tue May 26 21:00:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository mapnik.
commit de45a8463268776773c7d067b55841259c4b136d
Author: Jérémy Lal <kapouer at melix.org>
Date: Tue May 26 22:31:54 2015 +0200
Fake scons.py
Signed-off-by: Jérémy Lal <kapouer at melix.org>
---
debian/rules | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index f582498..f596719 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,16 @@ SCONS_FLAGS += CUSTOM_CFLAGS="$(shell dpkg-buildflags --get CFLAGS) -g0"
SCONS_FLAGS += CUSTOM_LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS) -g0"
SCONS_FLAGS += CUSTOM_DEFINES="$(shell dpkg-buildflags --get CPPFLAGS) -g0"
+override_dh_auto_configure:
+ mkdir -p scons
+ ln -s /usr/bin/scons scons/scons.py
+ dh_auto_configure
+
+override_dh_clean:
+ rm -f scons/scons.py
+ rmdir scons || true
+ dh_clean
+
override_dh_install-arch:
dh_install
mv $(CURDIR)/debian/mapnik-utils/usr/bin/upgrade_map_xml.py \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapnik.git
More information about the Pkg-grass-devel
mailing list