File: rules

package info (click to toggle)
mpdscribble 0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 968 kB
  • sloc: cpp: 3,803; sh: 164; makefile: 17
file content (24 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

ifeq ($(DEB_HOST_ARCH_OS), linux)
WITH_SYSTEMD=-Dsystemd=enabled
else
WITH_SYSTEMD=-Dsystemd=disabled
endif

override_dh_auto_configure:
	dh_auto_configure -- $(WITH_SYSTEMD)

override_dh_auto_install:
	dh_auto_install
	rm debian/mpdscribble/etc/mpdscribble.conf
	rm debian/mpdscribble/usr/share/doc/mpdscribble/COPYING

override_dh_clean:
	debconf-updatepo
	dh_clean