summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-28 00:50:58 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-28 00:50:58 -0500
commit08192cf336b297156b962b783ce93ce0a5e4aecb (patch)
tree261c78246354b18c56c6cab2cbcdcb2ad61a3e39 /Makefile
parentda75b42e654e8d9acf1e8b494b2b68ff302aff2b (diff)
downloadconf-08192cf336b297156b962b783ce93ce0a5e4aecb.tar.gz
conf-08192cf336b297156b962b783ce93ce0a5e4aecb.zip
don't install local machine config as root
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 34242ba..406ce66 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,9 @@ INTO := $(HOME)
all : build
+ifneq ($(USER), 'root')
include Makefile.$(shell hostname | cut -d. -f1)
+endif
INSTALL := \
$(INSTALL) \