File: rules

package info (click to toggle)
cairo-5c 1.24
  • links: PTS
  • area: main
  • in suites: sid
  • size: 820 kB
  • sloc: ansic: 4,703; makefile: 166; sh: 4
file content (24 lines) | stat: -rwxr-xr-x 647 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
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

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

NICKLEVERSION := $(shell nickle -e 'printf("%s\n", version)')

configure_flags = $(WITHARCH) --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-nickle-libdir='$${datadir}/nickle' --prefix=/usr --mandir='$${prefix}/share/man'

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(configure_flags)

override_dh_compress:
	dh_compress -X.5c

override_dh_gencontrol:
	dh_gencontrol -- -Vnickle:Version=$(NICKLEVERSION)