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
commitd2bce03b21dbfa1d94a69c3cd77e60acc0f37a85 (patch)
tree827f1852517cee255011d2a1dafb8bf7d6c60a46
parent03523003c0762c40f7141ec74e91b84f027613a5 (diff)
Makefile system: add default value
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d382307..a74e3a8 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