File: rules

package info (click to toggle)
limba 0.5.6-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,776 kB
  • ctags: 1,460
  • sloc: ansic: 14,631; perl: 1,277; xml: 895; sh: 476; makefile: 49; python: 41
file content (28 lines) | stat: -rwxr-xr-x 571 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
27
28
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1

LI_CONFIGURE_ARGS = -DLICOMPILE=ON

# Define install target dir
INSTALLDIR = $(CURDIR)/debian/tmp

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(LI_CONFIGURE_ARGS)

override_dh_auto_install:
	dh_auto_install --destdir=$(INSTALLDIR)

override_dh_fixperms:
	# runapp needs CAP_SYS_ADMIN
	dh_fixperms -a -Xusr/bin/runapp

override_dh_install:
	dh_install --list-missing

override_dh_auto_test:
	# the tests require real CAP_SYS_ADMIN and at least Linux 4.0,
	# so we can't run them at build-time.