From 3adf2b764308595e6108ea2b119c22a544812a83 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 14 May 2021 18:42:43 +0100 Subject: Create the runtime directory at install time if it does not exist. --- make/template/main.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make/template/main.mk b/make/template/main.mk index a8783aa05..53430c78e 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -58,6 +58,7 @@ EXAPATH = "$(DESTDIR)@EXAMPLE_DIR@" LOGPATH = "$(DESTDIR)@LOG_DIR@" MANPATH = "$(DESTDIR)@MANUAL_DIR@" MODPATH = "$(DESTDIR)@MODULE_DIR@" +RUNPATH = "$(DESTDIR)@RUNTIME_DIR@" SCRPATH = "$(DESTDIR)@SCRIPT_DIR@" INSTALL ?= install @@ -221,6 +222,7 @@ install: target @-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(LOGPATH) @-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(MANPATH) @-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(MODPATH) + @-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(RUNPATH) @-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(SCRPATH) -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) "$(BUILDPATH)/bin/inspircd" $(BINPATH) -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) "$(BUILDPATH)/modules/"*.so $(MODPATH) -- cgit v1.2.3