| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=celery_haystack |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild |
| 7 | |
| 8 | override_dh_auto_test: |
| 9 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 10 | dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} /usr/bin/django-admin test --settings=celery_haystack.test_settings celery_haystack" |
| 11 | endif |