File: rules

package info (click to toggle)
pidgin-librvp 0.9.7cvs-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,372 kB
  • sloc: sh: 8,688; ansic: 6,281; perl: 143; makefile: 47
file content (26 lines) | stat: -rwxr-xr-x 819 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-rpath

execute_before_dh_auto_install:
	dh_pidgin -ppidgin-librvp

execute_after_dh_auto_install:
	$(RM) $(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/