File: rules

package info (click to toggle)
prody 2.4.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 106,704 kB
  • sloc: python: 47,651; ansic: 6,865; cpp: 4,032; xml: 1,728; javascript: 146; makefile: 72
file content (26 lines) | stat: -rwxr-xr-x 801 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
24
25
26
#!/usr/bin/make -f

export PYBUILD_NAME = prody

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

override_dh_install:
	for VERSION in $$(py3versions --supported); \
	do \
		mkdir --parents debian/python3-prody-tests/usr/lib/$${VERSION}/dist-packages/prody; \
		mv debian/python3-prody/usr/lib/$${VERSION}/dist-packages/prody/tests debian/python3-prody-tests/usr/lib/$${VERSION}/dist-packages/prody; \
	done
	dh_install

execute_after_dh_auto_clean:
	rm -rf ProDy.egg-info

# Manpage generation is supposed to be run manually after the binary
# package has been built and installed on the system.

debian/evol.1:
	help2man evol --no-info --name 'Sequence Evolution and Dynamics Analysis' > $@

debian/prody.1:
	help2man prody --no-info --name 'Python Package for Protein Dynamics Analysis' > $@