File: rules

package info (click to toggle)
cli11 2.1.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,592 kB
  • sloc: cpp: 19,206; python: 140; sh: 64; makefile: 12; ruby: 6
file content (18 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

override_dh_auto_configure:
	dh_auto_configure -- \
	    -D CLI11_BUILD_EXAMPLES=OFF

override_dh_auto_build:
	dh_auto_build
	# patch auto-generated doxyfile to make build reproducible
	sed -i -e 's:STRIP_FROM_PATH[[:space:]]*=:STRIP_FROM_PATH = ..:g' obj-$(DEB_BUILD_GNU_TYPE)/docs/Doxyfile.docs
	dh_auto_build -- docs

override_dh_auto_install:
	dh_auto_install
	mv obj-$(DEB_BUILD_GNU_TYPE)/docs/html debian/tmp/html

%:
	dh $@