File: rules

package info (click to toggle)
isso 0.12.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,392 kB
  • sloc: python: 3,346; xml: 204; sh: 128; makefile: 65
file content (23 lines) | stat: -rwxr-xr-x 709 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
export PYBUILD_NAME=isso

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild --test-nose

override_dh_auto_build:
	nodejs /usr/lib/nodejs/requirejs/r.js -convert /usr/lib/nodejs/jade/lib/ isso/js/components/jade/
	$(MAKE) RJS="nodejs /usr/lib/nodejs/requirejs/r.js" LC_ALL=C.UTF-8 SASS="sass --sourcemap=none"
	rm docs/_build/html/_static/jquery.js
	rm docs/_build/html/_static/underscore.js

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

override_dh_auto_clean:
	$(MAKE) clean
	rm -rf ./isso.egg-info/
	rm -rf ./debian/doctrees/ ./docs/_isso/remove_heading.pyc ./docs/_build/
	rm -rf .pybuild/
	rm -rf ./isso/js/components/