File: rules

package info (click to toggle)
cbootimage 1.7-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 932 kB
  • sloc: ansic: 14,827; makefile: 104; sh: 43
file content (16 lines) | stat: -rwxr-xr-x 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

UVER = $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}' | cut -f1 -d-)
SRCURL = "https://github.com/NVIDIA/cbootimage/tarball/v$(UVER)"

%:
	dh $@ --with autoreconf

get-orig-source:
	wget -O cbootimage_$(UVER).orig.tar.gz $(SRCURL)