| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
|
| 7 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 8 |
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 9 |
|
| 10 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 11 |
# package maintainers to append CFLAGS |
| 12 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 13 |
# package maintainers to append LDFLAGS |
| 14 |
#export DEB_LDFLAGS_MAINT_APPEND = |
| 15 |
|
| 16 |
|
| 17 |
%: |
| 18 |
dh $@ |
| 19 |
|
| 20 |
|
| 21 |
#dh_make generated override targets |
| 22 |
# This is example for Cmake (See https://bugs.debian.org/641051 ) |
| 23 |
override_dh_auto_configure: |
| 24 |
dh_auto_configure -- -DVERSION_SUFIX=$(VERSION_SUFFIX) -DBUILD_NUMBER=$(BUILD_NUMBER) -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH="$(Qt5_DIR);$(INSTALL_PREFIX)" -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) |
| 25 |
|
| 26 |
override_dh_shlibdeps: |
| 27 |
dh_shlibdeps -l"$(Qt5_DIR)/lib" --dpkg-shlibdeps-params=--ignore-missing-info |
| 28 |
|
| 29 |
# Manually install kimageannotator translation files |
| 30 |
override_dh_auto_install: |
| 31 |
dh_auto_install |
| 32 |
mkdir -p $(CURDIR)/debian/ksnip/usr/ |
| 33 |
cp -r $(INSTALL_PREFIX)/share $(CURDIR)/debian/ksnip/usr/ |