File: rules

package info (click to toggle)
django-paintstore 0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 456 kB
  • ctags: 31
  • sloc: python: 84; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 802 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export PYBUILD_NAME=django-paintstore

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

override_dh_install:
	dh_install
	# Don't embed jQuery
	find debian/python-django-paintstore -name 'jquery_1.7.2.js' -type f -exec \
		ln -sf /usr/share/javascript/jquery/jquery.js {} \;
	find debian/python-django-paintstore -name 'colorpicker.js' -type f -exec \
		ln -sf /usr/share/javascript/libjs-jquery-colorpicker/jquery.colorpicker.js {} \;
	find debian/python3-django-paintstore -name 'jquery_1.7.2.js' -type f -exec \
		ln -sf /usr/share/javascript/jquery/jquery.js {} \;
	find debian/python3-django-paintstore -name 'colorpicker.js' -type f -exec \
		ln -sf /usr/share/javascript/libjs-jquery-colorpicker/jquery.colorpicker.js {} \;

get-orig-source:
	uscan --verbose --rename