File: rules

package info (click to toggle)
mikutter 3.8.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,544 kB
  • sloc: ruby: 20,548; sh: 99; makefile: 19
file content (29 lines) | stat: -rwxr-xr-x 1,024 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 -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/mikutter/usr/share/mikutter
	cp -pr \
		$(CURDIR)/core \
		$(CURDIR)/plugin \
		$(CURDIR)/mikutter.rb \
		$(CURDIR)/debian/mikutter/usr/share/mikutter
	mv $(CURDIR)/debian/mikutter/usr/share/mikutter/core/skin/data/icon_alternative.png \
		$(CURDIR)/debian/mikutter/usr/share/mikutter/core/skin/data/icon.png
	#
	find $(CURDIR)/debian/mikutter/usr/share/mikutter -type d -empty -delete
	#
	find $(CURDIR)/debian/mikutter/usr/share/mikutter/core -type f -perm -a=x | xargs chmod -x
	#
	install -D -o root -g root -m 755 $(CURDIR)/debian/mikutter.sh \
		$(CURDIR)/debian/mikutter/usr/bin/mikutter
	install -D -o root -g root -m 644 $(CURDIR)/debian/mikutter.desktop \
		$(CURDIR)/debian/mikutter/usr/share/applications/mikutter.desktop
	install -D -o root -g root -m 644 $(CURDIR)/debian/mikutter.1 \
		$(CURDIR)/debian/mikutter/usr/share/man/man1/mikutter.1