From 7ab141b97e4db666d86a3394623d93ce209e5ef1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 20 May 2009 14:43:49 -0700 Subject: [PATCH] dirs: Add variable for bindir. brcompatd wants to use this in an upcoming commit. --- lib/automake.mk | 3 ++- lib/dirs.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/automake.mk b/lib/automake.mk index 63bb0274..255e2fd3 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -149,7 +149,8 @@ lib/dirs.c: Makefile ($(ro_c) && \ echo 'const char ovs_pkgdatadir[] = "$(pkgdatadir)";' && \ echo 'const char ovs_rundir[] = "@RUNDIR@";' && \ - echo 'const char ovs_logdir[] = "@LOGDIR@";') > lib/dirs.c.tmp + echo 'const char ovs_logdir[] = "@LOGDIR@";' && \ + echo 'const char ovs_bindir[] = "$(bindir)";') > lib/dirs.c.tmp mv lib/dirs.c.tmp lib/dirs.c install-data-local: diff --git a/lib/dirs.h b/lib/dirs.h index c45054f5..966fd9ce 100644 --- a/lib/dirs.h +++ b/lib/dirs.h @@ -37,5 +37,6 @@ extern const char ovs_pkgdatadir[]; /* /usr/local/share/openvswitch */ extern const char ovs_rundir[]; /* /usr/local/var/run */ extern const char ovs_logdir[]; /* /usr/local/var/log */ +extern const char ovs_bindir[]; /* /usr/local/bin */ #endif /* dirs.h */ -- 2.30.2