File: rules

package info (click to toggle)
cglm 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,332 kB
  • sloc: ansic: 36,253; makefile: 289; python: 51; sh: 10
file content (20 lines) | stat: -rwxr-xr-x 535 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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=meson --with sphinxdoc

override_dh_auto_configure:
	dh_auto_configure --buildsystem=meson -- -Dbuild_tests=true

override_dh_missing-indep:
	dh_missing --list-missing

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	python3 -m sphinx -b html docs/source \
		$(CURDIR)/debian/libcglm-doc/usr/share/doc/libcglm-doc/html
	rm -f $(CURDIR)/debian/libcglm-doc/usr/share/doc/libcglm-doc/html/.nojekyll
	dh_sphinxdoc
endif