-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.bootstrap
46 lines (33 loc) · 994 Bytes
/
Makefile.bootstrap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
all:
help: all
dist:
@[ -f configure ] || autoreconf -i
@[ -f Makefile ] || ./configure
@make dist
srcpkg: dist
develop:
@[ -f configure ] || autoreconf -i
@[ -f Makefile ] || CFLAGS="-Wall -ggdb3" ./configure
release: dist
@make package
venv:
python3 -m venv venv
./venv/bin/pip3 install -r requirements.txt
list_assets: venv
./venv/bin/python3 ./scripts/list_assets.py $(TAG)
download_asset: venv
./venv/bin/python3 ./scripts/download_asset.py $(TAG) $(ASSET)
sign_asset: venv
./venv/bin/python3 ./scripts/sign_asset.py $(ASSET)
upload_asset:
./scripts/upload_asset.sh $(TAG) $(ASSET)
DEFAULT_TAG:=$(shell git describe --tags)
upload_assets:
$(foreach asset, \
$(wildcard globus-gridftp-server-hpss-*rpm), \
. ./scripts/upload_asset.sh $(DEFAULT_TAG) $(asset);)
down_sign_up: venv
./venv/bin/python3 ./scripts/download_asset.py $(TAG) $(ASSET)
./venv/bin/python3 ./scripts/sign_asset.py $(ASSET)
bash ./scripts/upload_asset.sh $(TAG) $(ASSET).asc
.SILENT: