]> git.ipfire.org Git - people/ms/libloc.git/blob - debian/rules
importer: Drop EDROP as it has been merged into DROP
[people/ms/libloc.git] / debian / rules
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
12 override_dh_auto_configure:
13 intltoolize --force --automake
14 dh_auto_configure -- --disable-perl
15
16 override_dh_perl:
17 dh_perl -d
18
19 override_dh_systemd_enable:
20 dh_systemd_enable location-update.timer
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