File: rules

package info (click to toggle)
vala-panel 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 5,268 kB
  • sloc: ansic: 12,731; xml: 408; makefile: 25
file content (35 lines) | stat: -rwxr-xr-x 848 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
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

DHFLAGS=--buildsystem=meson
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ $(DHFLAGS)

override_dh_auto_configure:
	dh_auto_configure $(DHFLAGS)

override_dh_auto_build:
	dh_auto_build $(DHFLAGS)

override_dh_missing:
	dh_missing --fail-missing

override_dh_install:
	rm debian/tmp/usr/share/vala-panel/doc/LICENSE
	rm debian/tmp/usr/share/vala-panel/doc/README.md
	rmdir debian/tmp/usr/share/vala-panel/doc/
	mkdir debian/tmp/usr/share/metainfo/
	mv debian/tmp/usr/share/appdata/*.xml debian/tmp/usr/share/metainfo/
	rmdir debian/tmp/usr/share/appdata/
	dh_install

override_dh_clean:
	rm -f $(CURDIR)/cmake/FallbackVersion.cmake
	dh_clean

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