File: rules

package info (click to toggle)
pycifrw 4.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,764 kB
  • sloc: python: 5,101; ansic: 195; lex: 153; makefile: 79; sh: 47
file content (23 lines) | stat: -rwxr-xr-x 450 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

export PYBUILD_NAME=pycifrw
export PYBUILD_TEST_ARGS=-v TestPyCIFRW.py

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

override_dh_auto_build:
	$(MAKE) --directory src PYTHON=python3
	$(MAKE) --directory src/drel
	dh_auto_build

override_dh_auto_test:
	cp dictionaries/ddl.dic tests
	dh_auto_test

override_dh_installchangelogs:
	dh_installchangelogs RELEASENOTES

override_dh_auto_clean:
	dh_auto_clean
	rm -rf PyCifRW.egg-info