File: rules

package info (click to toggle)
pidgin-librvp 0.9.7cvs-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 2,376 kB
  • ctags: 779
  • sloc: sh: 8,688; ansic: 6,281; perl: 143; makefile: 76
file content (52 lines) | stat: -rwxr-xr-x 1,238 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
44
45
46
47
48
49
50
51
52
#!/usr/bin/make -f
# $Id: rules 818 2014-10-30 07:27:43Z aqua $

DEB_DESTDIR ?= $(CURDIR)/debian/pidgin-librvp

clean:
	dh_testdir
	dh_testroot
	dh_autotools-dev_restoreconfig
	dh_auto_clean
	dh_clean

config.status:
	dh_testdir
	dh_autotools-dev_updateconfig
	dh_auto_configure -- --disable-rpath

build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp:
build-stamp: config.status
	dh_testdir
	dh_auto_build
	touch $@

install: build
	dh_testdir
	dh_testroot
	dh_pidgin -ppidgin-librvp
	dh_auto_install
	dh_link
	dh_strip
	dh_fixperms
	dh_installdeb
	dh_installdocs
	dh_installchangelogs ChangeLog
	dh_compress
	dh_shlibdeps
	dh_gencontrol
	rm -v $(DEB_DESTDIR)/usr/lib/purple-2/librvp.la
	install -m 0755 -d \
	           $(DEB_DESTDIR)/usr/share/pixmaps/pidgin/protocols/16 \
	           $(DEB_DESTDIR)/usr/share/pixmaps/pidgin/protocols/48
	install -m 0644 $(CURDIR)/debian/icons/rvp.16x16.png $(DEB_DESTDIR)/usr/share/pixmaps/pidgin/protocols/16/rvp.png
	install -m 0644 $(CURDIR)/rvp.png $(DEB_DESTDIR)/usr/share/pixmaps/pidgin/protocols/48/
	dh_builddeb

binary-arch: build install
binary-indep: build install
binary: binary-indep binary-arch
.PHONY: clean build binary-indep binary-arch binary