| 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 | export DEB_CFLAGS_MAINT_APPEND = -std=gnu17 |
| 8 | |
| 9 | %: |
| 10 | dh $@ |
| 11 | |
| 12 | # To help ensure `appstreamcli --validate-tree` is successful for an unpacked |
| 13 | # binary package, we need to ensure that both the appdata.xml and .desktop |
| 14 | # files are named using the same RDNS scheme |
| 15 | # |
| 16 | # Tip: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086181#106 |
| 17 | # |
| 18 | execute_after_dh_auto_install: |
| 19 | mv -v debian/qxw/usr/share/applications/qxw.desktop \ |
| 20 | debian/qxw/usr/share/applications/com.quinapalus.qxw.desktop |
| 21 | |
| 22 | override_dh_installchangelogs: |
| 23 | dh_installchangelogs -k changelog.gz |