diff options
author | lassulus <lass@aidsballs.de> | 2015-10-01 14:48:51 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-01 14:48:51 +0200 |
commit | 4bacf702b0112a82eb2a4a21ee41c6f11337e8dc (patch) | |
tree | dc2f0e90f9336ba224384c81376ea0c2af2634c0 /Makefile | |
parent | a34de6743a44760d21589d4e1a154ccc5c621420 (diff) | |
parent | 3384dd0a5578cc3a26dd076669dd264f5ae9f008 (diff) |
Merge branch 'tv'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,7 +1,8 @@ # # usage: -# make system=foo -# make systems='foo bar' +# make infest system=foo [target=bar] +# make [deploy] system=foo [target=bar] +# make [deploy] systems='foo bar' # make eval get=tv.wu.config.time.timeZone [filter=json] # @@ -11,6 +12,7 @@ ifdef systems $(systems): @ + unset target parallel \ --line-buffer \ -j0 \ @@ -20,7 +22,7 @@ $(systems): else ifdef system .PHONY: deploy infest deploy infest:;@ - export get=$$LOGNAME.${system}.config.krebs.build.scripts.$@ + export get=krebs.$@ export filter=json make -s eval | sh @@ -39,8 +41,11 @@ endif --eval \ -A "$$get" \ '<stockholm>' \ - --argstr user-name "$$LOGNAME" \ - --argstr host-name "$$HOSTNAME" \ + --argstr current-date "$$(date -Is)" \ + --argstr current-host-name "$$HOSTNAME" \ + --argstr current-user-name "$$LOGNAME" \ + $${system+--argstr system "$$system"} \ + $${target+--argstr target "$$target"} \ | filter else $(error unbound variable: system[s]) |