make netns install programs to bin, since c extension is no longer used, added hack to endforce dist-packages

This commit is contained in:
bharnden 2019-06-03 21:59:29 -07:00
parent f5efecabf0
commit 23ae71bed3
2 changed files with 3 additions and 1 deletions

View file

@ -110,6 +110,8 @@ if test "x$enable_daemon" = "xyes"; then
AC_CHECK_FUNCS([atexit dup2 gettimeofday memset socket strerror uname])
AM_PATH_PYTHON(2.7)
pythondir=`echo ${pythondir} | sed s,site-packages,dist-packages,`
AC_SUBST(pythondir,$pythondir)
AC_CHECK_PROG(brctl_path, brctl, $as_dir, no, $SEARCHPATH)
if test "x$brctl_path" = "xno" ; then

View file

@ -20,7 +20,7 @@ SRC_VCMD = vcmd_main.c vnode_client.c \
vnode_client.h
SRC_NETNS = netns_main.c netns.c netns.h
noinst_PROGRAMS = vnoded vcmd netns
bin_PROGRAMS = vnoded vcmd netns
vnoded_LDADD = @libev_LIBS@
vnoded_SOURCES = $(SRC_COMMON) $(SRC_VNODED)
vcmd_LDADD = @libev_LIBS@