From 3e3bdf66070dd9b116a025d09084374a628f5516 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 4 Apr 2012 15:18:28 -0700 Subject: [PATCH] compile rundemo even during install --- demo/c++/build.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/demo/c++/build.py b/demo/c++/build.py index a9b87265c..9738347f9 100644 --- a/demo/c++/build.py +++ b/demo/c++/build.py @@ -47,7 +47,6 @@ rundemo = demo_env.Program('rundemo', source, LIBS=libraries, LINKFLAGS=env["CUS Depends(rundemo, env.subst('../../src/%s' % env['MAPNIK_LIB_NAME'])) -# we don't install this app because the datasource paths are relative -# and we're not going to install the sample data. -#env.Install(install_prefix + '/bin', rundemo) -#env.Alias('install', install_prefix + '/bin') +# build locally if installing +if 'install' in COMMAND_LINE_TARGETS: + env.Alias('install',rundemo)