File: rules

package info (click to toggle)
ngetty 1.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 428 kB
  • sloc: ansic: 1,588; makefile: 207; sh: 193; asm: 100
file content (15 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all$

%:
	dh $@

override_dh_auto_build:
	@echo 'blhc: ignore-line-regexp: .*diet\ -Os\ gcc\ -W.*'
	$(MAKE) CC='diet -Os gcc -W'

override_dh_gencontrol:
	echo >> debian/ngetty.substvars "ngetty:Built-Using=$$(dpkg-query -W -f '$${source:Package} (= $${source:Version})' dietlibc-dev)"
	dh_gencontrol