File: rules

package info (click to toggle)
openstructure 2.2.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 104,004 kB
  • sloc: cpp: 164,213; ansic: 34,298; python: 23,220; fortran: 3,275; sh: 239; xml: 146; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_configure:
	dh_auto_configure -- -DUBUNTU_LAYOUT=ON

override_dh_auto_install:
	dh_auto_install
	find debian/tmp/usr/lib -name '*.pyc' | xargs --no-run-if-empty rm

override_dh_install:
	dh_install
	find debian/python3-ost/usr/lib/python3/dist-packages -type f \
		| xargs --no-run-if-empty chmod -x