File: rules

package info (click to toggle)
a56 1.3%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 352 kB
  • sloc: ansic: 3,471; yacc: 1,888; makefile: 120; awk: 4
file content (28 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --no-parallel

override_dh_clean:
	dh_clean
	rm -f gram.c gram.h
	rm -f toktab.c kparse.c
	rm -f a56-keybld a56-toomf
	rm -f debian/bin2h debian/a56-tobin
	rm -f debian/bin2h.o debian/a56-tobin.o
	rm -f bin2h a56-tobin

override_dh_auto_build:
	dh_auto_build

override_dh_install:
	mv keybld a56-keybld
	mv toomf a56-toomf
	dh_install