File: rules

package info (click to toggle)
python-django-colorfield 0.4.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 260 kB
  • sloc: javascript: 2,510; python: 231; makefile: 10; sh: 2
file content (16 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=django-colorfield

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

override_dh_auto_clean:
	rm -f colorfield/static/jscolor/jscolor.min.js

override_dh_auto_make:
	uglifyjs colorfield/static/jscolor/jscolor.js > colorfield/static/jscolor/jscolor.min.js

override_dh_auto_install:
	dh_auto_install
	find debian/ -type f -name "*.html" -exec chmod 644 \{\} \;