File: rules

package info (click to toggle)
roger-router 1.8.14-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,236 kB
  • ctags: 2,312
  • sloc: ansic: 24,958; sh: 4,322; makefile: 702; xml: 511; cpp: 130
file content (32 lines) | stat: -rwxr-xr-x 711 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
#!/usr/bin/make -f

export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-secret=yes \
		--with-macos-keychain=no \
		--with-gstreamer1=check \
		--with-pulseaudio=check \
		--with-portaudio=check

override_dh_install:

	# do not ship *.la and *.a files
	find debian/ -name \*.la -delete
	find debian/ -name \*.a -delete
	find debian/ -name install-fax.sh -delete

	dh_install --list-missing

override_dh_fixperms:
	dh_fixperms
	chmod 755 debian/roger-router-cli/usr/lib/cups/backend/roger-cups
	chown lp.fax debian/roger-router-cli/var/spool/roger
	chmod 2770 debian/roger-router-cli/var/spool/roger