diff --git a/Makefile.am b/Makefile.am index f2d231a..daa3f87 100644 --- a/Makefile.am +++ b/Makefile.am @@ -106,6 +106,18 @@ valgrind: echo "valgrind not found in PATH."; \ fi +# Add science verification rule +science-verification: + @if type test/science_verification.py >/dev/null 2>&1; then \ + PYTHONPATH=$(top_builddir):$(top_builddir)/pyext:$(top_builddir)/pyext/build/ctools/ctools:$(pythondir):$(pyexecdir):$(PYTHONPATH); \ + @RUNSHARED@=$(top_builddir)/src/.libs:$(LIBDIR_GAMMALIB):$(@RUNSHARED@); \ + cd test; \ + ./science_verification.py; \ + cd ..; \ + else \ + echo "science_verification.py not found in test."; \ + fi + # Add Sphinx rule sphinx: @if type sphinx-build >/dev/null 2>&1; then \