# 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',
scons all_docs
scons linklint
scons fixlinks
- scons $(destdir)/usr/include $(destdir)/usr/share/doc $(SCONS_OPTIONS) \
+ scons $(destdir)/usr/include $(destdir)/usr/share/doc \
PREFIX='$(destdir)/usr' \
DOCINSTALLDIR='$$PREFIX/share/doc/libsenf-doc/html' \
INCLUDEINSTALLDIR='$$PREFIX/include/senf'