-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.project_rules
More file actions
27 lines (20 loc) · 854 Bytes
/
Makefile.project_rules
File metadata and controls
27 lines (20 loc) · 854 Bytes
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
ifndef OS_VERSION
$(error Ahven needs you to set OS_VERSION to either "unix" or "windows".)
else
export OS_VERSION
endif
ahven:
if [ ! -d ahven ]; then ( rm -f ahven && hg clone https://bitbucket.org/tkoskine/ahven ); fi
perl -i~ -lpe 's|external [(]"OS_VERSION", "[^"]"[)];|external ("OS_VERSION");|' ahven/gnat/ahven*.gpr
mkdir -p tests/results
ahven-update: ahven
cd ahven && hg pull && hg update && hg revert --all
perl -i~ -lpe 's|external [(]"OS_VERSION", "[^"]"[)];|external ("OS_VERSION");|' ahven/gnat/ahven*.gpr
DEPENDENCY_UPDATES += ahven-update
adacontrol:
wget --timestamping https://sourceforge.net/projects/adacontrol/files/adactl-1.18r9-src.tgz
tar xzvf adactl-1.18r9-src.tgz
rm -f adactl-1.18r9-src.tgz
mv adactl-1.18r9 adacontrol
update: $(DEPENDENCY_UPDATES)
.PHONY: $(DEPENDENCY_UPDATES) update