From 15c7ab62334c605de0661fd433eb3fa854f937a5 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 28 Apr 2010 05:35:26 +0000 Subject: [PATCH] add ability install XML upgrade script --- SConstruct | 1 + utils/upgrade_map_xml/SConscript | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 utils/upgrade_map_xml/SConscript diff --git a/SConstruct b/SConstruct index 2a3a2f480..149590ce4 100644 --- a/SConstruct +++ b/SConstruct @@ -1192,6 +1192,7 @@ if not HELP_REQUESTED: # Build the Python bindings if 'python' in env['BINDINGS']: SConscript('bindings/python/SConscript') + SConscript('utils/upgrade_map_xml/SConscript') # Configure fonts and if requested install the bundled DejaVu fonts SConscript('fonts/SConscript') diff --git a/utils/upgrade_map_xml/SConscript b/utils/upgrade_map_xml/SConscript new file mode 100644 index 000000000..97282ffd4 --- /dev/null +++ b/utils/upgrade_map_xml/SConscript @@ -0,0 +1,28 @@ +# +# This file is part of Mapnik (c++ mapping toolkit) +# +# Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon +# +# Mapnik is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# +# $Id$ + +Import ('env') + +prefix = env['PREFIX'] +install_prefix = env['DESTDIR'] + '/' + prefix + +env.Install(install_prefix + '/bin', "upgrade_map_xml.py") +env.Alias('install', install_prefix + '/bin')