Working Saturnin-based meta-command

123456789101112131415161718
  1. #!/usr/bin/make -f
  2. %:
  3. dh $@
  4. override_dh_auto_install:
  5. make install DESTDIR=debian/tmp PREFIX=/usr
  6. override_dh_auto_test:
  7. make clean
  8. make install PREFIX=/usr DESTDIR=TEST
  9. make test \
  10. PATH="$(shell pwd)/TEST/usr/bin:$(PATH)" \
  11. SATURNIN_LIBEXEC="$(shell pwd)/TEST/usr/libexec/saturnin-demo" \
  12. SHELLFU_PATH="$(shell pwd)/TEST/usr/share/shellfu/include-bash"