| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
#export DH_VERBOSE=1 |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_configure: |
| 12 |
dh_auto_configure -- \ |
| 13 |
-DCMAKE_PREFIX_PATH="/usr/lib/qt6" \ |
| 14 |
|
| 15 |
override_dh_installchangelogs: |
| 16 |
dh_installchangelogs NEWS |
| 17 |
|
| 18 |
override_dh_compress: |
| 19 |
dh_compress -XStartup.pdf -X.qm |
| 20 |
|
| 21 |
execute_before_dh_auto_build: |
| 22 |
mkdir -pv share/doc/apvlv/translations |
| 23 |
|
| 24 |
# cmake is a nice way to install this package's files, but it gets a |
| 25 |
# few things wrong. We run dh_auto_install and then tidy up. Also |
| 26 |
# see the d/manpages file. |
| 27 |
execute_after_dh_auto_install: |
| 28 |
rm -fv debian/apvlv/usr/share/man/apvlv.1 |