Commit 4a5cf59324a1ddd129382a6a7f460119dc53e060
1 parent
2673d6c1
add $GAMMALIB/include/gammalib to include paths (allows installation of ctatools…
… and GammaLib in separate locations)
Showing
1 changed file
with
4 additions
and
1 deletions
pyext/Makefile.am
| @@ -32,7 +32,10 @@ clean-local: | @@ -32,7 +32,10 @@ clean-local: | ||
| 32 | 32 | ||
| 33 | if HAVE_SWIG | 33 | if HAVE_SWIG |
| 34 | ctatools_wrap.cpp ctatools.py: $(SWIG_INTERFACE) | 34 | ctatools_wrap.cpp ctatools.py: $(SWIG_INTERFACE) |
| 35 | - $(SWIG) -c++ -python -Wall -includeall -I$(prefix)/share/gammalib/swig -o ctatools_wrap.cpp -outdir . $(srcdir)/$(SWIG_INTERFACE) | 35 | + $(SWIG) -c++ -python -Wall -includeall \ |
| 36 | + -I$(prefix)/share/gammalib/swig \ | ||
| 37 | + -I$(GAMMALIB)/share/gammalib/swig \ | ||
| 38 | + -o ctatools_wrap.cpp -outdir . $(srcdir)/$(SWIG_INTERFACE) | ||
| 36 | endif # HAVE_SWIG | 39 | endif # HAVE_SWIG |
| 37 | 40 | ||
| 38 | endif # WITH_PYTHON_BINDING | 41 | endif # WITH_PYTHON_BINDING |