File: rules

package info (click to toggle)
heimdall-flash 1.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 800 kB
  • sloc: cpp: 7,056; ansic: 34; makefile: 14; sh: 7
file content (20 lines) | stat: -rwxr-xr-x 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION_UPSTREAM
export SOURCE_DATE_EPOCH

DEB_CFLAGS_MAINT_APPEND  := $(shell getconf LFS_CFLAGS)
export DEB_CFLAGS_MAINT_APPEND

%:
	dh $@

# generate man page during auto_install
override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/tmp
	txt2man -d $$SOURCE_DATE_EPOCH -t HEIMDALL -s1 -t heimdall \
	        -r heimdall-$$DEB_VERSION_UPSTREAM \
	        -v "tool for flashing firmware on Samsung Galaxy S devices" \
	        Linux/README > debian/tmp/heimdall.1