File: rules

package info (click to toggle)
psmisc 22.19-1%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,480 kB
  • sloc: sh: 11,577; ansic: 4,603; makefile: 76; sed: 16
file content (16 lines) | stat: -rwxr-xr-x 429 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	if [ -f "debian/psmisc/usr/bin/fuser" ] ; then \
	  mv debian/psmisc/usr/bin/fuser debian/psmisc/bin/fuser ; \
	else \
	  rm -f debian/psmisc/usr/share/man/man1/fuser.1 ; \
	fi
	if [ "$(DEB_HOST_ARCH_OS)" = "kfreebsd" ] ; then \
	  rm -f debian/psmisc/usr/share/man/man1/peekfd.1 ; \
	fi