File: rules

package info (click to toggle)
gtk-doc 1.32-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,476 kB
  • sloc: python: 9,382; xml: 5,865; sh: 4,571; ansic: 915; makefile: 512; lisp: 137; perl: 109
file content (27 lines) | stat: -rwxr-xr-x 677 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
26
27
#!/usr/bin/make -f
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

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

%:
	dh $@ --with gnome,python3

override_dh_auto_configure:
	dh_auto_configure -- \
		--libdir=\$${prefix}/lib

override_dh_install:
	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_python3:
	dh_python3 /usr/share/gtk-doc

override_dh_gnome:
	dh_gnome --no-gnome-versions

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