Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 DEB_CMAKE_EXTRA_FLAGS = \
10 -DENABLE_TESTS=ON \
11 -DENABLE_COVERAGE=OFF \
12 $(NULL)
13
14 ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
15 DEB_CMAKE_EXTRA_FLAGS = "-DENABLE_UBUNTU_ACCOUNTSSERVICE=ON"
16 endif
17
18 %:
19 dh $@
20
21 override_dh_auto_configure:
22 dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
23
24 execute_before_dh_install:
25 find debian/ayatana-indicator-keyboard -name \*.la -delete
26 find debian/ayatana-indicator-keyboard -name \*.a -delete
27
28 override_dh_installchangelogs:
29 dh_installchangelogs NEWS
30
31 get-orig-source:
32 uscan --noconf --force-download --rename --download-current-version --destdir=..