File: rules

package info (click to toggle)
gi-docgen 2023.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,992 kB
  • sloc: python: 7,897; javascript: 592; makefile: 25
file content (25 lines) | stat: -rwxr-xr-x 550 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

export LC_ALL=C.UTF-8
unexport LANGUAGE LANG LC_ALL LC_CTYPE LC_COLLATE LC_TIME LC_NUMERIC LC_MESSAGES

built_binaries := $(shell dh_listpackages)

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure \
		-- \
		-Ddevelopment_tests=false \
		$(NULL)

override_dh_auto_build:
	dh_auto_build
ifneq ($(filter gi-docgen-doc,$(built_binaries)),)
	python3 -m sphinx -b html docs debian/html
endif

override_dh_gnome:
	dh_gnome --no-gnome-versions