Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))
4 with_udeb = yes
5 endif
6
7 override_dh_auto_configure:
8 dh_auto_configure -B build-deb -- \
9 -Ddocumentation=false \
10 -Dudev-dir=/usr/lib/udev
11
12 ifeq ($(with_udeb),yes)
13 dh_auto_configure -B build-udeb -- \
14 -Ddocumentation=false \
15 -Dudev-dir=/usr/lib/udev \
16 -Dlibwacom=false
17 endif
18
19 override_dh_auto_build:
20 dh_auto_build -B build-deb
21 ifeq ($(with_udeb),yes)
22 dh_auto_build -B build-udeb
23 endif
24
25 override_dh_auto_install:
26 dh_auto_install -B build-deb --destdir=debian/tmp/main
27 ifeq ($(with_udeb),yes)
28 dh_auto_install -B build-udeb --destdir=debian/tmp/udeb
29 endif
30
31 override_dh_install:
32 find debian/tmp -name '*.la' -delete
33 ifeq ($(with_udeb),yes)
34 dh_install -plibinput10-udeb --sourcedir=debian/tmp/udeb
35 endif
36 dh_install --remaining-packages --sourcedir=debian/tmp/main
37
38 override_dh_makeshlibs:
39 dh_makeshlibs -plibinput10 -V --add-udeb="libinput10-udeb" -- -c4
40
41 override_dh_clean:
42 rm -f doc/doxygen_sqlite3.db
43 rm -rf build-deb build-udeb
44 dh_clean
45
46 %:
47 dh $@