diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 9f8a670a..450a98b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -172,9 +172,8 @@ libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD) # install may require --root depending on what you're doing. # python setup.py install --root=$DESTIR --prefix=$PREFIX if HAVE_PYTHON -PYEXTENSIONS = gpspacket.so - -noinst_SCRIPTS = gpspacket.so setup.py +@HAVE_PYTHON_TRUE@PYEXTENSIONS = gpspacket.so +@HAVE_PYTHON_TRUE@noinst_SCRIPTS = gpspacket.so setup.py gpspacket.so: gpspacket.c libgps.la (pwd="`pwd`"; cd $(srcdir) && $(PYTHON) setup.py build_ext --build-lib "$$pwd" --build-temp "$$pwd/build" --include-dirs "$$pwd") |