File: rules

package info (click to toggle)
usbmuxd 1.1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 532 kB
  • sloc: ansic: 4,231; makefile: 79; sh: 43; xml: 18
file content (16 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# Only install systemd/udev files on Linux
# see https://buildd.debian.org/quinn-diff/sid/Packages-arch-specific
override_dh_install:
ifneq ($(DEB_HOST_ARCH_OS),linux)
	rm -f debian/usbmuxd/lib/udev/rules.d/* debian/tmp/lib/systemd/system/*
endif
	dh_install debian/org.libimobiledevice.usbmuxd.metainfo.xml usr/share/metainfo/
	dh_install