File: rules

package info (click to toggle)
python-mpld3 0.3git%2B20140910dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,808 kB
  • ctags: 1,095
  • sloc: python: 3,595; makefile: 187
file content (20 lines) | stat: -rwxr-xr-x 356 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
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1
export PYBUILD_NAME=mpld3

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

override_dh_auto_build: src/utils/icons.js
	# re-create smashed and minified JS files
	$(MAKE) clean
	$(MAKE) javascript
	dh_auto_build

src/utils/icons.js:
	./debian/mkicons > $@

clean::
	-rm src/utils/icons.js