summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-05-20 03:21:56 +0200
committertv <tv@krebsco.de>2016-05-20 03:27:42 +0200
commit8014be4f2e0a5d9091150d2e4944706c31e4a62d (patch)
treeeb063c7559381e122bcdd761c0b93b2754b9d86e
parent47a9308fc9eb41f7fe1f5d160a45e6a23e9f12d1 (diff)
Makefile system: add default value
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d3823077e..a74e3a877 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ export STOCKHOLM_VERSION ?= $(shell \
printf '%s' "$$date.$$version"; \
)
+system ?= $(HOSTNAME)
$(if $(system),,$(error unbound variable: system))
nixos-config ?= $(stockholm)/$(LOGNAME)/1systems/$(system).nix