summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 73af650ef6268b9ab7ed6863a17d1c731c726780 (plain)
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
#!/usr/bin/make -f

%:
	dh ${@}

execute_after_dh_auto_clean:
	rm -rf build

override_dh_auto_install:
	mkdir -p build
	tar xf anydesk-*.tar.gz -C build

	# bin
	mkdir -p debian/anydesk/usr/bin
	cp build/*/anydesk debian/anydesk/usr/bin

	# desktop
	mkdir -p debian/anydesk/usr/share/applications
	cp build/*/*.desktop debian/anydesk/usr/share/applications

	# icons
	mkdir -p debian/anydesk/usr/share/icons
	cp -r build/*/icons/hicolor debian/anydesk/usr/share/icons

	# polkit
	mkdir -p debian/anydesk/usr/share/polkit-1/actions
	cp build/*/polkit-1/*.policy debian/anydesk/usr/share/polkit-1/actions

	# systemd
	mkdir -p debian/anydesk/lib/systemd/system
	cp build/*/systemd/*.service debian/anydesk/lib/systemd/system

override_dh_dwz:
	# disabled

override_dh_strip:
	# disabled

override_dh_strip_nondeterminism:
	# disabled