File: rules

package info (click to toggle)
gtk-doc 1.35.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,192 kB
  • sloc: python: 9,923; ansic: 915; xml: 889; makefile: 535; sh: 364; lisp: 137; perl: 109
file content (26 lines) | stat: -rwxr-xr-x 653 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
21
22
23
24
25
26
#!/usr/bin/make -f

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

%:
	dh $@ --buildsystem=meson --without autoreconf

override_dh_auto_configure:
	chmod a-x gtkdoc/*.py
	dh_auto_configure -- \
		--libdir=lib

execute_after_dh_install:
	cp tools/gtk-doc.el debian/gtk-doc-tools/usr/share/emacs/site-lisp/gtk-doc-tools
	cp debian/gtk-doc.catalog debian/gtk-doc-tools/usr/share/sgml/gtk-doc/

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog

override_dh_python3:
	dh_python3 /usr/share/gtk-doc

# Needed to avoid build failure on Launchpad
override_dh_auto_test:
	V=0 dh_auto_test