File: rules

package info (click to toggle)
anyremote 6.7.3-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,616 kB
  • sloc: ansic: 16,504; sh: 4,469; python: 111; makefile: 56
file content (20 lines) | stat: -rwxr-xr-x 570 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
#!/usr/bin/make -f
export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh  $@ --without perl

override_dh_auto_configure:
	dh_auto_configure -- --disable-dbus

override_dh_fixperms:
	@if [ -e debian/anyremote-data/usr/share/anyremote/cfg-data/Server-mode/xmms2.cfg ]; then \
		iconv -f iso-8859-1 -t utf8 cfg-data/Server-mode/xmms2.cfg \
			-o debian/anyremote-data/usr/share/anyremote/cfg-data/Server-mode/xmms2.cfg ;\
	fi
	dh_fixperms
	find . -name *.sh -type f -exec chmod 755 {} \;