File: rules

package info (click to toggle)
libwibble 1.1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 1,088 kB
  • ctags: 2,743
  • sloc: cpp: 14,551; makefile: 191; perl: 87; sh: 26
file content (20 lines) | stat: -rwxr-xr-x 398 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
#!/usr/bin/make -f

BUILDDIR = $(CURDIR)/debian/build

%:
	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)

override_dh_auto_build:
	dh_auto_build
	make -C $(BUILDDIR) doc

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	make -C $(BUILDDIR) unit
endif

override_dh_auto_install:
	dh_auto_install
	dh_installdocs -plibwibble-dev -n $(BUILDDIR)/doc/html
	dh_doxygen