Skip to content
Snippets Groups Projects
Commit 0406dc9b authored by g0dil's avatar g0dil
Browse files

Export PATH to build environment

parent 02299f4c
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,7 @@ env.Append(
'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,
......@@ -215,7 +216,8 @@ env.Clean('all', [ os.path.join(path,f)
PhonyTarget(env, 'deb', [
checkLocalConf,
updateRevision,
"$BUILDPACKAGE_COMMAND -tc",
"$BUILDPACKAGE_COMMAND",
"fakeroot ./debian/rules debclean"
])
PhonyTarget(env, 'debsrc', [
......
......@@ -19,15 +19,11 @@ export debian_build
# 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
......@@ -39,7 +35,7 @@ destdir=$(CURDIR)/debian/tmp
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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment