File: rules

package info (click to toggle)
plyvel 1.5.0-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 316 kB
  • sloc: python: 920; cpp: 78; makefile: 42; sh: 41
file content (21 lines) | stat: -rwxr-xr-x 403 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
#!/usr/bin/make -f
# -*- makefile -*-

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

export PYBUILD_NAME = plyvel

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -r $(CURDIR)/.pytest_cache/
	$(RM) -r $(CURDIR)/plyvel.egg-info/

override_dh_auto_build:
	$(MAKE) cython
	dh_auto_build

%:
	dh $@ --with python3 --buildsystem pybuild

.PHONY: override_dh_auto_clean override_dh_auto_build