File: rules

package info (click to toggle)
ufo-core 0.15.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,240 kB
  • sloc: ansic: 12,944; python: 1,002; lisp: 266; xml: 60; makefile: 26; sh: 23
file content (43 lines) | stat: -rwxr-xr-x 1,162 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
38
39
40
41
42
43
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

%:
	dh $@ --with gir,python2,sphinxdoc,systemd --without autoreconf --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DINSTALL_COMPLETION=ON -DWITH_SYSTEMD=ON

override_dh_install:
	# gir1.2-ufo-0.0
	dh_install -p gir1.2-ufo-0.0 usr/lib/*/girepository-1.0

	# libufo-bin
	dh_install -p libufo-bin usr/bin/ufo-*
	dh_install -p libufo-bin usr/share/man/man1/ufo-*
	dh_install -p libufo-bin usr/share/bash-completion

	# libufo-data
	dh_install -p libufo-data usr/share/ufo

	# libufo-dev
	dh_install -p libufo-dev usr/include/*
	dh_install -p libufo-dev usr/lib/*/lib*.so
	dh_install -p libufo-dev usr/lib/*/pkgconfig
	dh_install -p libufo-dev usr/share/gir-1.0/

	# libufo0
	dh_install -p libufo0 usr/lib/*/lib*.so.*

	# ufod
	dh_install -p ufod lib/systemd/system
	dh_install -p ufod usr/bin/ufod
	dh_install -p ufod usr/share/man/man1/ufod.1

	# ufo-core-doc
	dh_install -p ufo-core-doc usr/share/gtk-doc
	dh_install -p ufo-core-doc ./*/docs/manual/html usr/share/doc/ufo-core-doc

	dh_install --remaining-packages --list-missing