File: rules

package info (click to toggle)
nws 2.11-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,700 kB
  • ctags: 2,820
  • sloc: ansic: 28,849; sh: 3,289; java: 1,205; makefile: 697; perl: 12
file content (26 lines) | stat: -rwxr-xr-x 846 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
#!/usr/bin/make -f

# $Id: rules,v 1.2 2005/01/04 20:12:07 mquinson Exp $

# Let cdbs track the build-dep for me
debian/control:: debian/control.in debian/rules
DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes

# Import Common Debian Build System (CDBS).
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk

# installing under debian/tmp...
# DEB_MAKE_ENVVARS := BUILD_ROOT=$(CURDIR)/debian/tmp LC_ALL=C

# ... and moving it to the right dir using dh_install
DEB_DH_INSTALL_SOURCEDIR := debian/tmp

# I hate the nws non-standard build system
DEB_MAKE_BUILD_TARGET := all
DEB_MAKE_INSTALL_TARGET := install \
                           prefix=`pwd`/debian/tmp/usr \
	                   sysconfdir=`pwd`/debian/tmp/etc \
		           etcdir=`pwd`/debian/tmp/etc