File: rules

package info (click to toggle)
tomoyo-tools 2.5.0-20170102-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,216 kB
  • ctags: 1,860
  • sloc: ansic: 22,032; sh: 161; makefile: 106
file content (25 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- INSTALLDIR=$(CURDIR)/debian/tmp

override_dh_install:
	dh_install -XCOPYING.tomoyo -XREADME.tomoyo

override_dh_clean:
	dh_clean
	debconf-updatepo

PKG_VERS=$(shell dpkg-parsechangelog | grep ^Version: | cut -d'-' -f-2 | cut -d' ' -f2)

get-orig-source:
	uscan --force-download --rename --repack --download-version=$(PKG_VERS) --destdir=.

.PHONY: get-orig-source