Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
4
5 %:
6 dh $@
7
8 ifeq ($(DEB_HOST_ARCH_OS), linux)
9 WITH_SYSTEMD=-Dsystemd=enabled
10 else
11 WITH_SYSTEMD=-Dsystemd=disabled
12 endif
13
14 override_dh_auto_configure:
15 dh_auto_configure -- $(WITH_SYSTEMD)
16
17 override_dh_auto_install:
18 dh_auto_install
19 rm debian/mpdscribble/etc/mpdscribble.conf
20 rm debian/mpdscribble/usr/share/doc/mpdscribble/COPYING
21
22 override_dh_clean:
23 debconf-updatepo
24 dh_clean