File: rules

package info (click to toggle)
gtk-layer-shell 0.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,564 kB
  • sloc: ansic: 15,257; python: 1,437; xml: 417; makefile: 18
file content (29 lines) | stat: -rwxr-xr-x 783 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
#!/usr/bin/make -f
# -*- makefile -*-


include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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


override_dh_auto_configure:
	dh_auto_configure -- -Ddocs=true -Dexamples=true -Dtests=true

# show files that are not installed in any package
override_dh_install:
	mkdir -p debian/tmp/usr/share/doc/gtk-layer-shell/
	mv debian/tmp/usr/share/gtk-doc/html/gtk-layer-shell debian/tmp/usr/share/doc/gtk-layer-shell/html
	ln -s ../../doc/gtk-layer-shell/html debian/tmp/usr/share/gtk-doc/html/gtk-layer-shell
	if ! dh_install; then \
		tree debian/tmp; \
		exit 1; \
	fi

override_dh_missing:
	dh_missing --fail-missing

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..