'LOGNAME' : logname, # needed by the debian build scripts
'CONCURRENCY_LEVEL' : env.GetOption('num_jobs') or "1",
'SCONS' : 1,
+ 'PATH' : os.environ.get('PATH')
},
LOCAL_CONFIG_FILES = [ 'Doxyfile.local', 'SConfig', 'local_config.hh' ],
CONFIG_FILES_OPTS = configFilesOpts,
PhonyTarget(env, 'deb', [
checkLocalConf,
updateRevision,
- "$BUILDPACKAGE_COMMAND -tc",
+ "$BUILDPACKAGE_COMMAND",
+ "fakeroot ./debian/rules debclean"
])
PhonyTarget(env, 'debsrc', [
# This has to be exported to make some magic below work.
export DH_OPTIONS
-#DPKG_ARCH#
-
CFLAGS = -Wall -g
CONCURRENCY_LEVEL ?= 1
export CONCURRENCY_LEVEL
-LIBTYPE ?= UNSPEC
-
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
configure: configure-stamp
configure-stamp:
dh_testdir
-# # Add here commands to configure the package.
+# Add here commands to configure the package.
rm -f Doxyfile.local SConfig local_config.hh
scons prepare
# If needed, we could create new files 'Doxyfile.local',