File: rules

package info (click to toggle)
lomiri-history-service 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,148 kB
  • sloc: cpp: 20,280; sql: 909; xml: 442; sh: 40; makefile: 18
file content (29 lines) | stat: -rwxr-xr-x 698 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
26
27
28
29
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_WERROR=OFF		\
	                     $(NULL)

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_test:
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	export HOME=$(CURDIR)/debian/home &&    \
	    mkdir -p $${HOME} &&       \
	    CTEST_OUTPUT_ON_FAILURE=1 make -j1 -C obj-$(DEB_HOST_GNU_TYPE) test
endif
endif

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..