~speguero/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] makefile: account for config directory creation

Details
Message ID
<20210928121602.19915-1-herman@spiralarms.org>
DKIM signature
pass
Download raw message
Patch: +2 -0
---
/usr/local/etc/ didn't exist on my system

 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 3410104..38b60fd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
fname_bin=sirubo
fpath_bin=/usr/local/bin/$(fname_bin)
dpath_conf=/usr/local/etc
fpath_conf=/usr/local/etc/$(fname_bin).conf
fpath_ruleset=/usr/local/etc/$(fname_bin).ruleset
fname_service_linux=$(fname_bin).service
@@ -11,6 +12,7 @@ os := $(shell uname -s)

install:

	mkdir -p "$(dpath_conf)"
	touch "$(fpath_conf)"
	chown 0:0 "$(fpath_conf)"
	chmod u=rw,go= "$(fpath_conf)"
-- 
2.32.0
Reply to thread Export thread (mbox)