| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# The magic debhelper rule: |
| 4 |
%: |
| 5 |
dh $@ --buildsystem=pybuild |
| 6 |
|
| 7 |
include /usr/share/dpkg/pkg-info.mk |
| 8 |
|
| 9 |
override_dh_fixperms-indep: |
| 10 |
dh_fixperms |
| 11 |
chmod +x debian/cylc-flow/usr/share/bash-completion/completions/cylc-completion.bash |
| 12 |
|
| 13 |
override_dh_auto_clean: |
| 14 |
rm -rf build .pybuild cylc_flow.egg-info |
| 15 |
# Fixup for bad merge. Delete after 8.0b3 |
| 16 |
grep -r "<<<<" * | grep -v debian | cut -f1 -d: | uniq | while read r ; do rm -f $$r ; done |
| 17 |
|
| 18 |
override_dh_auto_test: |
| 19 |
echo "Skipping tests until hostname issue resolved" |
| 20 |
# PATH=$(PATH):$(CURDIR)/bin && cylc test-battery |