summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 56ed014ad0384a7ecc779be1a25afa51364e4321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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

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