X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fpython%2FMakefile.am;h=cd8db4f6c36ad72b8f3df74f491f0ece5dd6536a;hb=3d31f00c64de8900730440750182e64fa01ef885;hp=a5dabc3d4a6e9adb94978e463a6e741a06bc21a2;hpb=0120e235ad0103c1318b6be5065d79d372439bba;p=vpp.git diff --git a/src/vpp-api/python/Makefile.am b/src/vpp-api/python/Makefile.am index a5dabc3d4a6..cd8db4f6c36 100644 --- a/src/vpp-api/python/Makefile.am +++ b/src/vpp-api/python/Makefile.am @@ -13,6 +13,7 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 +AM_LIBTOOLFLAGS = --quiet AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir} BUILT_SOURCES = @@ -40,7 +41,8 @@ libpneum_la_CPPFLAGS = # TODO: Support both Python 2 and 3. install-exec-local: cd $(srcdir); \ - mkdir -p $(prefix)/lib/python2.7/site-packages; \ + mkdir -p $(pythondir); \ + mkdir -p $(pyexecdir); \ PYTHONUSERBASE=$(prefix) \ python setup.py build_ext -L $(libdir) \ -I $(prefix)/include/ install --user @@ -48,6 +50,7 @@ install-exec-local: # # Test client # +if ENABLE_TESTS noinst_PROGRAMS += test_pneum test_pneum_SOURCES = pneum/pneum.c pneum/test_pneum.c test_pneum_LDADD = \ @@ -56,5 +59,4 @@ test_pneum_LDADD = \ $(top_builddir)/libvlibapi.la \ $(top_builddir)/libsvm.la \ -lpthread -lm -lrt - - +endif