File: rules

package info (click to toggle)
usbmuxd 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,892 kB
  • ctags: 837
  • sloc: sh: 11,342; ansic: 3,723; makefile: 65
file content (21 lines) | stat: -rwxr-xr-x 559 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
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --with autoreconf

override_dh_install:

#Install udev files only on arch which have udev 
#see https://buildd.debian.org/quinn-diff/sid/Packages-arch-specific
ifeq (,$(filter $(DEB_HOST_ARCH), kfreebsd-amd64 kfreebsd-i386 hurd-i386))
	dh_install -pusbmuxd lib/udev/rules.d/*
	dh_install -pusbmuxd lib/systemd/system/*
endif
	rm -f debian/tmp/lib/udev/rules.d/* debian/tmp/lib/systemd/system/*

	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbg-package=usbmuxd-dbg