File: rules

package info (click to toggle)
libapache2-mod-rivet 3.2.6-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 6,384 kB
  • sloc: tcl: 8,982; xml: 8,619; ansic: 7,074; sh: 5,039; makefile: 195; sql: 91; lisp: 78
file content (24 lines) | stat: -rwxr-xr-x 742 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
#!/usr/bin/make -f

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

RIVETLIB_DIR=/usr/lib/tcltk/rivet$(shell cut -d '.' -f 1 VERSION)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

%:
	dh $@ --with apache2

override_dh_auto_configure:
	. /usr/lib/tclConfig.sh; \
	dh_auto_configure -a -- --host=$(DEB_HOST_GNU_TYPE)    \
				--build=$(DEB_BUILD_GNU_TYPE)           \
				--with-tcl=/usr/lib/tcl$${TCL_VERSION}  \
				--with-apache=/usr                      \
				--with-apxs=/usr/bin/apxs               \
				--with-rivet-target-dir=$(RIVETLIB_DIR) \
				--enable-version-display