File: rules

package info (click to toggle)
coolmail 1.3-13
  • links: PTS
  • area: main
  • in suites: forky, trixie
  • size: 312 kB
  • sloc: ansic: 1,527; makefile: 69
file content (20 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
#export DH_VERBOSE=1

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

%:
	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
	dh_installdocs README
	dh_installchangelogs README.changes