File: rules

package info (click to toggle)
ncmpc 0.33-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,976 kB
  • sloc: cpp: 10,895; python: 133; makefile: 39; ruby: 28; sh: 11
file content (49 lines) | stat: -rwxr-xr-x 1,252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with sphinxdoc

override_dh_auto_configure:
		dh_auto_configure -- \
				-Dartist_screen=true \
				-Dasync_connect=true \
				-Dcolors=true \
				-Dchat_screen=true \
				-Dcurses=ncursesw \
				-Ddocumentation=auto \
				-Dkey_screen=true \
				-Dhelp_screen=true \
				-Dhtml_manual=true \
				-Dlibrary_screen=true \
				-Dlyrics_screen=true \
				-Dlyrics_plugin_dir="/usr/lib/ncmpc/lyrics/" \
				-Dlirc=enabled \
				-Dlocale=enabled \
				-Dmanual=true \
				-Dmini=false \
				-Dmouse=enabled \
				-Dmultibyte=true \
				-Dnls=enabled \
				-Doutputs_screen=true \
				-Dregex=enabled \
				-Dsearch_screen=true \
				-Dsong_screen=true

override_dh_auto_install:
	dh_auto_install
	# Examples installed with dh_installexamples, cf. debian/ncmpc.examples
	rm debian/tmp/usr/share/doc/ncmpc/config.sample
	rm debian/tmp/usr/share/doc/ncmpc/keys.sample
	rm debian/tmp/usr/share/doc/ncmpc/ncmpc.lirc
	# Remove useless doc files
	rm debian/tmp/usr/share/doc/ncmpc/COPYING
	rm debian/tmp/usr/share/doc/ncmpc/NEWS

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_installdocs:
	dh_installdocs -A AUTHORS