File: rules

package info (click to toggle)
python-nexusformat 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: xml: 52,253; python: 7,509; makefile: 7; sh: 1
file content (12 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME=nexusformat

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	mv debian/python3-nexusformat/usr/bin/nxdir debian/python3-nexusformat/usr/bin/nxdir-python

execute_after_dh_fixperms:
	find $(CURDIR)/debian/python3-nexusformat/usr/lib/python*/dist-packages/ -type f -exec chmod a-x {} +