Working Saturnin-based meta-command

rules 299B

1234567891011121314151617
  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_CONF_PATH="$(shell pwd)/TEST/usr/share/bmo/ini.d"