File: rules

package info (click to toggle)
pdbg 3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 2,152 kB
  • sloc: ansic: 20,763; cpp: 3,363; sh: 3,345; makefile: 307; asm: 18
file content (18 lines) | stat: -rwxr-xr-x 473 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	sed -n '/^## Usage$$/,$$p' $(CURDIR)/README.md|sed 's#./pdbg #pdbg #g' > $(CURDIR)/pdbg.8.tail.md
	go-md2man -in $(CURDIR)/pdbg.8.tail.md -out $(CURDIR)/pdbg.8.tail
	cat $(CURDIR)/debian/pdbg.8.head $(CURDIR)/pdbg.8.tail > $(CURDIR)/debian/pdbg.8

override_dh_auto_clean:
	rm -f p9-fsi.dtsi
	dh_auto_clean

override_dh_auto_test:
	-dh_auto_test -- check