File: rules

package info (click to toggle)
neo 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,132 kB
  • sloc: python: 7,661; makefile: 82
file content (16 lines) | stat: -rwxr-xr-x 346 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 python2 --buildsystem=python_distutils

override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=.. $(MAKE) -C doc html
	-rm doc/build/html/_static/jquery.js doc/build/html/_static/underscore.js
endif

override_dh_clean:
	dh_clean
	rm -rf neo.egg-info
	rm -rf doc/build