File: rules

package info (click to toggle)
coolmail 1.3-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: ansic: 1,527; makefile: 70
file content (23 lines) | stat: -rwxr-xr-x 559 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_clean:
	-$(MAKE) new
	dh_clean

override_dh_auto_install:
	$(MAKE) BINDIR=`pwd`/debian/coolmail/usr/bin MANDIR=`pwd`/debian/coolmail/usr/share/man/man1 install
	rm -rf debian/coolmail/usr/X11R6/lib
	mkdir -p debian/coolmail/etc/X11/app-defaults
	install -m644 Coolmail.ad debian/coolmail/etc/X11/app-defaults/Coolmail

override_dh_installchangelogs:
	dh_installchangelogs README.changes