File: rules

package info (click to toggle)
libmath-cephes-perl 0.5305-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,580 kB
  • sloc: ansic: 25,992; perl: 4,929; makefile: 15
file content (19 lines) | stat: -rwxr-xr-x 508 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
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	$(RM) --verbose $(TMP)/usr/bin/pmath
	rmdir --ignore-fail-on-non-empty --parents --verbose \
		$(TMP)/usr/bin
	$(RM) --verbose $(TMP)/usr/share/man/man1/pmath.1p
	rmdir --ignore-fail-on-non-empty --parents --verbose \
		$(TMP)/usr/share/man/man1