File: rules

package info (click to toggle)
imaprowl 1.2.1-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 124 kB
  • ctags: 27
  • sloc: ruby: 524; xml: 172; makefile: 20
file content (35 lines) | stat: -rwxr-xr-x 894 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
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper. 
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PACKAGE=imaprowl

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	-rm -f imaprowl.1
	-rm -f imaprowl

override_dh_install:
	install -m 0644	imapidle.rb `pwd`/debian/$(PACKAGE)/usr/lib/ruby/vendor_ruby/
	install -m 0755 imaprowl `pwd`/debian/$(PACKAGE)/usr/bin/

override_dh_auto_build:
	dh_auto_build

	cp imaprowl.rb imaprowl

	xsltproc --nonet \
              --param make.year.ranges 1 \
              --param make.single.year.ranges 1 \
              --param man.charmap.use.subset 0 \
              -o ./ \
              /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
              debian/manpage.xml