File: rules

package info (click to toggle)
sgabios 0.0~svn8-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 200 kB
  • ctags: 254
  • sloc: asm: 1,461; ansic: 90; makefile: 61
file content (26 lines) | stat: -rwxr-xr-x 568 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
#!/usr/bin/make -f

BUILD_HOST = generic
BUILD_USER = generic
BUILD_DATE = $(shell dpkg-parsechangelog --show-field=Date)
BUILD_SHORT_DATE = $(shell date --utc --date="$(BUILD_DATE)" +%D)

%:
	+dh $@

override_dh_auto_clean:
	make clean
	rm -f .depend

override_dh_auto_build:
	make \
		BUILD_HOST="\\\"$(BUILD_HOST)\\\"" \
		BUILD_USER="\\\"$(BUILD_USER)\\\"" \
		BUILD_DATE="\\\"$(BUILD_DATE)\\\"" \
		BUILD_SHORT_DATE="\\\"$(BUILD_SHORT_DATE)\\\""

override_dh_auto_configure override_dh_auto_test:
# nothing to do

override_dh_auto_install:
	chmod 644 sgabios.bin