You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rules 712B

1234567891011121314151617181920212223
  1. #!/usr/bin/make -f
  2. # -*- mode: makefile; coding: utf-8 -*-
  3. #DEB_MAKE_CHECK_TARGET = test_starwels
  4. #build/starwelsd::
  5. # $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_starwels)
  6. %:
  7. dh --with bash-completion $@
  8. override_dh_auto_clean:
  9. if [ -f Makefile ]; then $(MAKE) distclean; fi
  10. rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/starwels-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
  11. QT=$(shell dpkg-vendor --derives-from Ubuntu && echo qt4 || echo qt5)
  12. # Yea, autogen should be run on the source archive, but I like doing git archive
  13. override_dh_auto_configure:
  14. ./autogen.sh
  15. ./configure --with-gui=$(QT)
  16. override_dh_auto_test:
  17. make check