File: rules

package info (click to toggle)
pyomo 4.3.11388%2Bgit20160622.d3e3f0a-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 47,836 kB
  • ctags: 14,301
  • sloc: python: 135,783; xml: 68,255; sh: 1,064; ansic: 713; ruby: 526; makefile: 399; sql: 254; asm: 16
file content (18 lines) | stat: -rwxr-xr-x 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck

# modules need to be by publically importable

export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/pyomo
# see run-scripts-from-usr-share.patch

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

override_dh_auto_test:
	# TODO: get tests to run

override_dh_fixperms:
	dh_fixperms
	find $(CURDIR)/debian/pyomo/usr/share/doc/pyomo/examples -executable -type f -exec chmod 644 {} \;