File: rules

package info (click to toggle)
python-django-solo 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 400 kB
  • sloc: python: 363; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=django-solo

%:
	dh $@ --buildsystem=pybuild --test-tox

execute_before_dh_auto_configure:
	if [ -d solo ]; then mv solo django_solo; fi

execute_after_dh_clean:
	rm -rf files
	if [ -d django_solo ]; then mv django_solo solo; fi