| 1 |
#!/usr/bin/make -f |
| 2 |
#DH_VERBOSE = 1 |
| 3 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 6 |
# package maintainers to append CFLAGS |
| 7 |
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 8 |
# package maintainers to append LDFLAGS |
| 9 |
export DEB_LDFLAGS_MAINT_APPEND = |
| 10 |
|
| 11 |
export PYTHON=/usr/bin/python3 |
| 12 |
|
| 13 |
# unify locale settings |
| 14 |
export LC_ALL=C.UTF-8 |
| 15 |
|
| 16 |
CONFIGURE_FLAGS := --enable-xtest --disable-static --with-gtk=3.0 --enable-introspection |
| 17 |
CONFIGURE_FLAGS += --disable-pygobject2 |
| 18 |
#CONFIGURE_FLAGS += --enable-pygobject2 |
| 19 |
|
| 20 |
%: |
| 21 |
dh $@ |
| 22 |
|
| 23 |
override_dh_auto_configure: |
| 24 |
dh_auto_configure -- $(CONFIGURE_FLAGS) |
| 25 |
|
| 26 |
override_dh_install: |
| 27 |
dh_install -X .la |