Commit 512331ed01898a8eb724279a623d9855ffdd0b9d
1 parent
82292bef
Replace $(abs_top_srcdir) by relative path.
$(abs_top_srcdir) does not exist on all systems.
Showing
1 changed file
with
22 additions
and
22 deletions
pyext/Makefile.am
| ... | ... | @@ -29,29 +29,29 @@ |
| 29 | 29 | # Works only if Python is available |
| 30 | 30 | if WITH_PYTHON |
| 31 | 31 | |
| 32 | -# Test scripts to be distributed in $(pythondir)/ctools/tests | |
| 32 | +# Test scripts to be distributed in $(pyexecdir)/ctools/tests | |
| 33 | 33 | testscripts = ctools/tests/__init__.py \ |
| 34 | - $(abs_top_srcdir)/test/test_python.py \ | |
| 35 | - $(abs_top_srcdir)/test/test_ctobssim.py \ | |
| 36 | - $(abs_top_srcdir)/test/test_ctselect.py \ | |
| 37 | - $(abs_top_srcdir)/test/test_ctbin.py \ | |
| 38 | - $(abs_top_srcdir)/test/test_ctlike.py \ | |
| 39 | - $(abs_top_srcdir)/test/test_cttsmap.py \ | |
| 40 | - $(abs_top_srcdir)/test/test_ctmodel.py \ | |
| 41 | - $(abs_top_srcdir)/test/test_ctskymap.py \ | |
| 42 | - $(abs_top_srcdir)/test/test_ctexpcube.py \ | |
| 43 | - $(abs_top_srcdir)/test/test_ctpsfcube.py \ | |
| 44 | - $(abs_top_srcdir)/test/test_ctbkgcube.py \ | |
| 45 | - $(abs_top_srcdir)/test/test_ctcubemask.py \ | |
| 46 | - $(abs_top_srcdir)/test/test_ctbutterfly.py \ | |
| 47 | - $(abs_top_srcdir)/test/test_ctulimit.py \ | |
| 48 | - $(abs_top_srcdir)/test/test_cterror.py \ | |
| 49 | - $(abs_top_srcdir)/test/test_pipelines.py | |
| 50 | -testdata = $(abs_top_srcdir)/test/data/crab.xml \ | |
| 51 | - $(abs_top_srcdir)/test/data/crab_events.fits.gz \ | |
| 52 | - $(abs_top_srcdir)/test/data/crab_cntmap.fits.gz \ | |
| 53 | - $(abs_top_srcdir)/test/data/exclusion.reg | |
| 54 | -testirf = $(abs_top_srcdir)/test/irf/cta_dummy_irf.dat | |
| 34 | + ../test/test_python.py \ | |
| 35 | + ../test/test_ctobssim.py \ | |
| 36 | + ../test/test_ctselect.py \ | |
| 37 | + ../test/test_ctbin.py \ | |
| 38 | + ../test/test_ctlike.py \ | |
| 39 | + ../test/test_cttsmap.py \ | |
| 40 | + ../test/test_ctmodel.py \ | |
| 41 | + ../test/test_ctskymap.py \ | |
| 42 | + ../test/test_ctexpcube.py \ | |
| 43 | + ../test/test_ctpsfcube.py \ | |
| 44 | + ../test/test_ctbkgcube.py \ | |
| 45 | + ../test/test_ctcubemask.py \ | |
| 46 | + ../test/test_ctbutterfly.py \ | |
| 47 | + ../test/test_ctulimit.py \ | |
| 48 | + ../test/test_cterror.py \ | |
| 49 | + ../test/test_pipelines.py | |
| 50 | +testdata = ../test/data/crab.xml \ | |
| 51 | + ../test/data/crab_events.fits.gz \ | |
| 52 | + ../test/data/crab_cntmap.fits.gz \ | |
| 53 | + ../test/data/exclusion.reg | |
| 54 | +testirf = ../test/irf/cta_dummy_irf.dat | |
| 55 | 55 | |
| 56 | 56 | # Distribute scripts |
| 57 | 57 | EXTRA_DIST = $(testscripts) $(testdata) $(testirf) | ... | ... |