File: rules

package info (click to toggle)
gobject-introspection 1.50.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,992 kB
  • ctags: 8,274
  • sloc: ansic: 37,206; xml: 15,012; python: 13,414; sh: 4,554; yacc: 1,591; makefile: 742; lex: 475; perl: 269
file content (37 lines) | stat: -rwxr-xr-x 839 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
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f

-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

MANPAGES := debian/dh_girepository.1
$(MANPAGES): debian/dh_girepository
	pod2man -c "gobject-introspection" -r "$(DEB_VERSION)" $< $@

%:
	dh $@ --with gnome,python3

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-gtk-doc \
		--enable-doctool \
		--with-python=python3

override_dh_auto_build: $(MANPAGES)
	dh_auto_build

override_dh_shlibdeps:
	dh_shlibdeps
	perl -w debian/dh_girepository -pgir1.2-glib-2.0
	perl -w debian/dh_girepository -pgir1.2-freedesktop

override_dh_makeshlibs:
	dh_makeshlibs -V -- -c4

override_dh_install:
	find debian/tmp -name '*.la' -delete
	find debian/tmp -name '*.pyc' -delete
	find debian/tmp -name '*.pyo' -delete
	dh_install --list-missing

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(MANPAGES)