File: rules

package info (click to toggle)
wiredtiger 3.1.0%2Bds-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 23,708 kB
  • sloc: ansic: 103,581; python: 46,767; sh: 6,669; java: 6,055; cpp: 2,016; makefile: 1,007; xml: 176
file content (23 lines) | stat: -rwxr-xr-x 646 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_clean:
	dh_clean
	find $(CURDIR) -name .dirstamp -size 0 -exec rm {} \;

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

%:
	dh $@ --with python2,javahelper

.PHONY: override_dh_clean override_dh_auto_configure