File: rules

package info (click to toggle)
smuxi 1.0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 29,376 kB
  • sloc: cs: 221,990; xml: 15,231; sh: 11,520; makefile: 2,366
file content (53 lines) | stat: -rwxr-xr-x 1,666 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
53
#!/usr/bin/make -f
export DH_VERBOSE=1

LSB_VENDOR = $(shell lsb_release -is)
LSB_CODENAME = $(shell lsb_release -cs)
DEB_VERSION = $(shell dpkg-parsechangelog -ldebian/changelog | grep ^Vers | cut -d\  -f2)

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-vendor-package-version="Debian $(DEB_VERSION)" \
		--enable-engine-campfire \
		--enable-engine-irc \
		--enable-engine-jabbr \
		--enable-engine-xmpp \
		--enable-frontend-gnome \
		--disable-frontend-stfl \
		--with-notify \
		--with-gtkspell \
		--with-db4o=included \
		GMCS=/usr/bin/mono-csc MCS=/usr/bin/mono-csc

# disable "make check"
override_dh_auto_test:

# disable stripping debugging symbols
override_dh_clistrip:

# disable generating clilibs
override_dh_makeclilibs:

override_dh_clideps:
	dh_clideps \
		--exclude-moduleref=i:secur32 \
		--exclude-moduleref=i:secur32.dll \
		--exclude-moduleref=libigemacintegration.dylib \
		--exclude-moduleref=/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon \
		--exclude-moduleref=/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation \
		--exclude-moduleref=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices

override_dh_install:
	dh_install
	# optional included libs
	-dh_install -p smuxi-frontend-gnome "usr/lib/smuxi/messagingmenu-sharp.dll*"
	-dh_install -p smuxi-frontend-gnome "usr/lib/smuxi/gio-sharp.dll*"
	# optional system libs
	-install /usr/lib/gio-sharp/gio-sharp.dll* debian/smuxi-frontend-gnome/usr/lib/smuxi/

override_dh_autoreconf:
	ln -sf debian/autogen.sh
	NOCONFIGURE=1 NOGIT=1 dh_autoreconf ./autogen.sh

%:
	dh $@ --with autoreconf,cli