]>
Commit | Line | Data |
---|---|---|
3da6e70c SS |
1 | #!/usr/bin/make -f |
2 | ||
3 | # enable verbose mode | |
4 | #export DH_VERBOSE=1 | |
5 | ||
6 | # enable all hardening build flags | |
7 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all | |
8 | ||
9 | %: | |
10 | dh $@ --with python3 --with-systemd | |
11 | ||
f9b76c9d | 12 | override_dh_auto_configure: |
4e1a2bf3 | 13 | intltoolize --force --automake |
f9b76c9d SS |
14 | dh_auto_configure -- --disable-perl |
15 | ||
3da6e70c SS |
16 | override_dh_perl: |
17 | dh_perl -d | |
9624f406 SS |
18 | |
19 | override_dh_systemd_enable: | |
22d8fa6f | 20 | dh_systemd_enable location-update.timer |
d87c9c30 VJ |
21 | |
22 | override_dh_install: | |
23 | dh_install | |
24 | # lintian: unknown-file-in-python-module-directory | |
25 | rm debian/location-python/usr/lib/python3*/site-packages/_location.la | |
26 | # linitan: binaries-have-file-conflict (d/location-importer.install) | |
27 | rm debian/location-python/usr/lib/python3*/site-packages/location/database.py | |
28 | rm debian/location-python/usr/lib/python3*/site-packages/location/importer.py |