summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-29 21:24:53 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-29 21:24:53 -0400
commit074a6d5dacb42c080be91f87880fbd7f8d988f63 (patch)
tree661f5183b6047b5012315535d0590ba2e347454c
parent2edf964bb8aff88eb51b50dd222abf42f9b5101e (diff)
downloadconf-074a6d5dacb42c080be91f87880fbd7f8d988f63.tar.gz
conf-074a6d5dacb42c080be91f87880fbd7f8d988f63.zip
only use the first part of the hostname
osx defaults to st-doy1.local, for instance
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5116672..871e0d6 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ INTO := $(HOME)
all : build
-include Makefile.$(shell hostname)
+include Makefile.$(shell hostname | cut -d. -f1)
INSTALL := \
$(INSTALL) \