File: rules

package info (click to toggle)
ekiga 4.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 31,612 kB
  • ctags: 14,511
  • sloc: cpp: 72,155; sh: 11,298; xml: 8,904; ansic: 8,572; makefile: 1,738; asm: 453; awk: 16
file content (32 lines) | stat: -rwxr-xr-x 1,039 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
#!/usr/bin/make -f

include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

%:
	dh $@ --with autoreconf --parallel

override_dh_auto_configure:
	dh_auto_configure --\
		--with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--disable-schemas-install \
		--disable-scrollkeeper \
		--disable-silent-rules \
		--enable-avahi \
		--enable-loudmouth

override_dh_auto_install:
	cd po/; intltool-update -p
	$(MAKE) install DESTDIR=$(CURDIR)/debian/ekiga
	rm -f $(CURDIR)/debian/ekiga/usr/lib/*/ekiga/*/*.la
	rm -f $(CURDIR)/debian/ekiga/usr/lib/*/ekiga/*/plugins/*.la
	# move evolution plugin in its own package
	target=$(CURDIR)/debian/ekiga-plugin-evolution/$$(cd debian/ekiga;ls -1d usr/lib/*/ekiga/*/plugins); \
	mkdir -p $$target; mv $(CURDIR)/debian/ekiga/usr/lib/*/ekiga/*/plugins/*evolution* $$target

override_dh_installchangelogs:
	dh_installchangelogs NEWS
override_dh_strip:
	dh_strip --dbg-package=ekiga-dbg
override_dh_installdocs:
	dh_installdocs --link-doc=ekiga