1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 all: centos7/generated debian9/generated ubuntu1604/generated ubuntu1804/generated
7 centos7/generated: common-generated-all
8 test -d centos7/generated || mkdir centos7/generated
9 cp -rlt centos7/generated common-generated/*
11 debian9/generated: common-generated-all
12 test -d debian9/generated || mkdir debian9/generated
13 cp -rlt debian9/generated common-generated/*
15 ubuntu1604/generated: common-generated-all
16 test -d ubuntu1604/generated || mkdir ubuntu1604/generated
17 cp -rlt ubuntu1604/generated common-generated/*
19 ubuntu1804/generated: common-generated-all
20 test -d ubuntu1804/generated || mkdir ubuntu1804/generated
21 cp -rlt ubuntu1804/generated common-generated/*
23 GOTARBALL=go1.12.7.linux-amd64.tar.gz
24 NODETARBALL=node-v6.11.2-linux-x64.tar.xz
26 RVMKEY2=pkuczynski.asc
28 common-generated-all: common-generated/$(GOTARBALL) common-generated/$(NODETARBALL) common-generated/$(RVMKEY1) common-generated/$(RVMKEY2)
30 common-generated/$(GOTARBALL): common-generated
31 wget -cqO common-generated/$(GOTARBALL) https://dl.google.com/go/$(GOTARBALL)
33 common-generated/$(NODETARBALL): common-generated
34 wget -cqO common-generated/$(NODETARBALL) https://nodejs.org/dist/v6.11.2/$(NODETARBALL)
36 common-generated/$(RVMKEY1): common-generated
37 wget -cqO common-generated/$(RVMKEY1) https://rvm.io/mpapis.asc
39 common-generated/$(RVMKEY2): common-generated
40 wget -cqO common-generated/$(RVMKEY2) https://rvm.io/pkuczynski.asc
43 mkdir common-generated