From 278ae88d5f49249f247db3ad890bf1e97123f51c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 23 Oct 2008 12:42:18 -0700 Subject: [PATCH] Create rundir, logdir, pkidir at install time. --- lib/automake.mk | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.30.2