File: rules

package info (click to toggle)
sysrepo 3.7.11-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 6,720 kB
  • sloc: ansic: 85,593; sh: 145; makefile: 29
file content (22 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# be strict when comparing symbols
export DPKG_GENSYMBOLS_CHECK_LEVEL=4

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure-arch:
	dh_auto_configure -- -DSYSREPO_UMASK=002 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DNACM_SRMON_DATA_PERM=660 -DSYSREPO_GROUP=sysrepo

ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_auto_build-indep:
	dh_auto_build -- doc
endif

override_dh_auto_install-indep:

execute_after_dh_installinit:
	dh_installsysusers