7 |
# This is the debhelper compatibility version to use. |
# This is the debhelper compatibility version to use. |
8 |
#export DH_COMPAT=4 |
#export DH_COMPAT=4 |
9 |
|
|
|
# Set Qt5 environment for qtchooser. |
|
|
export QT_SELECT=5 |
|
|
|
|
|
CFLAGS = -g |
|
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
|
|
CFLAGS += -O0 |
|
|
else |
|
|
CFLAGS += -O2 |
|
|
endif |
|
|
|
|
10 |
configure: configure-stamp |
configure: configure-stamp |
11 |
configure-stamp: |
configure-stamp: |
12 |
dh_testdir |
dh_testdir |
13 |
|
|
14 |
# Add here commands to configure the package. |
# Add here commands to configure the package. |
15 |
-$(MAKE) -f Makefile.git |
./autogen.sh |
16 |
|
|
17 |
./configure --prefix=/usr |
./configure --prefix=/usr |
18 |
# --- end custom part for configure |
# --- end custom part for configure |
35 |
rm -f build-stamp configure-stamp |
rm -f build-stamp configure-stamp |
36 |
|
|
37 |
# Add here commands to clean up after the build process. |
# Add here commands to clean up after the build process. |
38 |
-$(MAKE) -f Makefile.git clean |
./autogen.sh clean |
39 |
# --- end custom part for cleaning up |
# --- end custom part for cleaning up |
40 |
|
|
41 |
dh_clean |
dh_clean |