File: rules

package info (click to toggle)
freeart 3.3.0%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,412 kB
  • sloc: python: 7,332; cpp: 6,281; sh: 201; makefile: 191
file content (19 lines) | stat: -rwxr-xr-x 776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export PYBUILD_NAME=freeart
%:
	dh $@ --with python3 --buildsystem=pybuild

# Only build the Python stuff, so no need for auto*
override_dh_autoreconf:

# Disable testsuite for now
override_dh_auto_test:

override_dh_auto_build:
	python3 setup.py build build_man build_doc
	rm -f $(CURDIR)/debian/python3-freeart/usr/share/doc/python3-freeart/html/_static/jquery.js
	rm -f $(CURDIR)/debian/python3-freeart/usr/share/doc/python3-freeart/html/_static/doctools.js
	rm -f $(CURDIR)/debian/python3-freeart/usr/share/doc/python3-freeart/html/_static/searchtools.js
	rm -f $(CURDIR)/debian/python3-freeart/usr/share/doc/python3-freeart/html/_static/underscore.js
	rm -f $(CURDIR)/debian/python3-freeart/usr/share/doc/python3-freeart/html/_static/language_data.js