File: rules

package info (click to toggle)
wslay 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 628 kB
  • sloc: ansic: 3,381; cpp: 1,030; makefile: 198; sh: 19
file content (13 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake --without autoreconf $(DHADDONS)
build binary %-indep: DHADDONS+=--with sphinxdoc

override_dh_auto_build-indep:
	dh_auto_build -A
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
	cd doc/sphinx/ ; cp conf.py.in conf.py; $(MAKE) man ; $(MAKE) html
endif