blob: 941a63b54cfe0970fa0a12c0f657e746ced29871 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/make -f
SHELL := sh -e
VERSION := $(shell dpkg-parsechangelog -SVersion)
VERSION_UPSTREAM := $(shell echo "$(VERSION)" | sed -e 's,-[^-]*$$,,')
UPSTREAM_SOURCE = linux-board-support-package
DIR_ORIG = ./$(UPSTREAM_SOURCE)-r$(VERSION_UPSTREAM)
ZIP_ORIG = linux-board-support-package-r$(VERSION_UPSTREAM).zip
override_dh_auto_build:
unzip -q $(ZIP_ORIG) "*/proprietary-linux/*" "*/LICENSE"
cp $(DIR_ORIG)/LICENSE debian/copyright
override_dh_auto_clean:
rm -rf $(DIR_ORIG)
rm -f debian/copyright
%:
dh $@
|