File: rules

package info (click to toggle)
prank 0.0.170427%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,228 kB
  • sloc: cpp: 24,023; makefile: 515; sh: 12
file content (23 lines) | stat: -rwxr-xr-x 462 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
22
23
#!/usr/bin/make -f

SRCDIR=src

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --sourcedirectory=$(SRCDIR)

override_dh_auto_clean:
	# No distclean! See README.source
	( cd $(SRCDIR) ; make clean )
	( cd $(SRCDIR) ; rm -f prank prank.1 )

override_dh_auto_build:
	dh_auto_build --verbose

override_dh_install:
	dh_install $(SRCDIR)/prank /usr/bin
	dh_installman $(SRCDIR)/prank.1

override_dh_installchangelogs:
	dh_installchangelogs VERSION_HISTORY