File: rules

package info (click to toggle)
tomopy 1.10.4%2Bds1-7
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 16,112 kB
  • sloc: cpp: 7,861; python: 6,065; ansic: 5,403; sh: 169; makefile: 152
file content (14 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=tomopy

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

PTLLINKS=VERSION CMakeLists.txt cmake source
execute_before_dh_auto_configure:
	mkdir -p source/PTL
	for i in $(PTLLINKS) ; do ln -s ../../PTL/$$i source/PTL/ ; done

execute_after_dh_auto_clean:
	for i in $(PTLLINKS) ; do rm -f source/PTL/$$i ; done