File: rules

package info (click to toggle)
sylpheed 3.8.0~beta1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,424 kB
  • sloc: ansic: 122,370; sh: 4,946; xml: 1,962; makefile: 580; yacc: 409; lex: 46
file content (27 lines) | stat: -rwxr-xr-x 802 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-gpgme \
		--enable-ssl \
		--enable-ldap \
		--enable-ipv6 \
		--enable-gtkspell \
		--enable-oniguruma \
		--with-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/sylpheed/plugins \
		--with-manualdir=/usr/share/doc/sylpheed-doc/manual \
		--with-faqdir=/usr/share/doc/sylpheed-doc/FAQ

execute_after_dh_auto_install:
	$(MAKE) -C plugin/attachment_tool \
		DESTDIR=$(CURDIR)/debian/tmp install-plugin
	rm -f $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
	pod2man --release $(DEB_VERSION) -c 'User Manuals' \
		debian/sylpheed.pod > debian/sylpheed.1