From: Ben Pfaff Date: Thu, 23 Oct 2008 19:42:18 +0000 (-0700) Subject: Create rundir, logdir, pkidir at install time. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=278ae88d5f49249f247db3ad890bf1e97123f51c;p=openvswitch Create rundir, logdir, pkidir at install time. --- diff --git a/lib/automake.mk b/lib/automake.mk index be0f5f61..1d0f8fab 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -65,3 +65,8 @@ lib/dirs.c: Makefile echo 'const char ofp_rundir[] = "@RUNDIR@";' && \ echo 'const char ofp_logdir[] = "@LOGDIR@";') > lib/dirs.c.tmp mv lib/dirs.c.tmp lib/dirs.c + +install-data-local: + $(MKDIR_P) $(DESTDIR)$(RUNDIR) + $(MKDIR_P) $(DESTDIR)$(PKIDIR) + $(MKDIR_P) $(DESTDIR)$(LOGDIR)