File: rules

package info (click to toggle)
timemachine 0.3.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 628 kB
  • ctags: 166
  • sloc: ansic: 1,476; sh: 922; makefile: 31
file content (28 lines) | stat: -rwxr-xr-x 939 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
28
#!/usr/bin/make -f
# rules
#
# Robert Jordens <rjo@gmx.de>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
#
# $Id: rules 240 2004-01-17 16:53:09Z rj $


include /usr/share/cdbs/1/class/makefile.mk
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed 's/-[^-]*//')
# strip of a optionally added cvs patch (format: upstream+cvs-debian)
DEB_UPSTREAM_TARBALL_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/+[^+]*//')
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

# after the directories are created but before dh_compress is run.
common-binary-post-install-arch::
	dh_buildinfo

build/timemachine::
	/usr/bin/docbook-to-man debian/timemachine.sgml > debian/timemachine.1
                                                                                
clean::
	-rm -f debian/timemachine.1