File: rules

package info (click to toggle)
cpptoml 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 500 kB
  • sloc: cpp: 2,994; sh: 15; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- \
		-DENABLE_LIBCXX=OFF

execute_after_dh_auto_build:
	dh_auto_build --buildsystem=cmake -- doc

DOC_DIR = debian/libcpptoml-dev/usr/share/doc/libcpptoml-dev
execute_after_dh_auto_install:
	mkdir -p $(DOC_DIR)
	cp -rv obj-$(DEB_HOST_GNU_TYPE)/doc/html $(DOC_DIR)
	dh_doxygen