diff options
author | tv <tv@krebsco.de> | 2016-02-12 19:48:16 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-12 19:48:16 +0100 |
commit | d954dd5e192834a72a2d05b428fc0e8cef599c31 (patch) | |
tree | 9b88e362f55fcefe2cb9cb123ad94a7dab364794 /Makefile | |
parent | 386a2191a13229b24a851d7ed02297d289cd5725 (diff) |
Makefile: interpolate $(target_*) for a nicer log
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ export target_path ?= /var/src evaluate = \ nix-instantiate \ - --arg configuration "./$$LOGNAME/1systems/$$system.nix" \ + --arg configuration ./$(LOGNAME)/1systems/$(system).nix \ --eval \ --readonly-mode \ --show-trace \ @@ -22,7 +22,7 @@ execute = \ # usage: make deploy system=foo [target_host=bar] deploy: $(call execute,populate) - @set -x; ssh "$$target_user@$$target_host" nixos-rebuild switch -I "$$target_path" + ssh $(target_user)@$(target_host) nixos-rebuild switch -I $(target_path) # usage: make LOGNAME=shared system=wolf eval.config.krebs.build.host.name eval eval.:;@$(call evaluate) |