File: rules

package info (click to toggle)
wiredtiger 2.6.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 30,656 kB
  • ctags: 11,707
  • sloc: ansic: 66,027; python: 33,066; java: 3,186; sh: 1,664; makefile: 456; xml: 176
file content (23 lines) | stat: -rwxr-xr-x 634 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
#!/usr/bin/make -f
# -*- makefile -*-

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

PYTHON_SITEARCH := $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')

override_dh_auto_configure:
	$(CURDIR)/autogen.sh
	dh_auto_configure -- --enable-leveldb=yes --enable-snappy \
		--enable-zlib \
		--enable-java --enable-python \
		--with-python-prefix=$(CURDIR)/debian/tmp/$(PYTHON_SITEARCH)/

override_dh_strip:
	dh_strip -plibwiredtiger0 --dbg-package=libwiredtiger-dbg
	dh_strip

%:
	dh $@ --with python2,javahelper --parallel

.PHONY: override_dh_auto_configure override_dh_strip