From: Sadie Powell Date: Fri, 14 May 2021 17:42:43 +0000 (+0100) Subject: Create the runtime directory at install time if it does not exist. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=3adf2b764308595e6108ea2b119c22a544812a83;p=user%2Fhenk%2Fcode%2Finspircd.git Create the runtime directory at install time if it does not exist. --- 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)