[DebianGIS-dev] [SCM] mapnik branch, master, updated. debian/0.6.1-1-26-g094ad5b
David Paleino
dapal at debian.org
Fri Feb 19 21:30:45 UTC 2010
The following commit has been merged in the master branch:
commit 094ad5bc9e84a50a3af2ed4c63e1e3105c65a96d
Author: David Paleino <dapal at debian.org>
Date: Fri Feb 19 22:27:54 2010 +0100
debian/rules: correctly pass SCONS_FLAGS all around
diff --git a/debian/rules b/debian/rules
index 862725e..41d8f74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
#export DH_VERBOSE=1
# scons flags
-SCONS_FLAGS=INPUT_PLUGINS=raster,sqlite,postgis,ogr,shape,osm,gdal,kismet PROJ_INCLUDES=/usr/include PROJ_LIBS=/usr/lib INTERNAL_LIBAGG=no SYSTEM_FONTS=/usr/share/fonts/truetype/ttf-dejavu PYTHON=/usr/bin/python2.5 XMLPARSER=libxml2 DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr LIB_DIR_NAME=/mapnik/0.6
+SCONS_FLAGS=INPUT_PLUGINS=raster,sqlite,postgis,ogr,shape,osm,gdal,kismet PROJ_INCLUDES=/usr/include PROJ_LIBS=/usr/lib INTERNAL_LIBAGG=no SYSTEM_FONTS=/usr/share/fonts/truetype/ttf-dejavu PYTHON=/usr/bin/python2.5 XMLPARSER=libxml2 DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr LIB_DIR_NAME=/mapnik/0.7
CFLAGS = -Wall -g
@@ -20,14 +20,14 @@ override_dh_auto_configure:
dh_auto_configure
override_dh_auto_build:
- python scons/scons.py
+ python scons/scons.py $(SCONS_FLAGS)
# We don't provide pkg-config files so this Makefile is just confusing
# when installed as a demo
#rm -f demo/c++/Makefile
dh_auto_build
override_dh_auto_clean:
- python scons/scons.py --clean
+ python scons/scons.py --clean $(SCONS_FLAGS)
find -name '*.pyc' -exec rm -f {} \;
find -name '.sconsign*' -exec rm -f {} \;
find -name '*.o' -exec rm -f {} \;
@@ -40,7 +40,7 @@ override_dh_auto_clean:
dh_auto_clean
override_dh_auto_install:
- python scons/scons.py install
+ python scons/scons.py install $(SCONS_FLAGS)
find $(CURDIR)/debian/tmp -name '.sconsign' -delete
find $(CURDIR)/debian/tmp -wholename 'c++/Makefile' -delete
install -m 0755 debian/mapnik-plugin-base $(CURDIR)/debian/tmp/usr/bin
--
C++/Python toolkit for developing GIS applications
More information about the Pkg-grass-devel
mailing list