-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile.project_rules
26 lines (19 loc) · 1.06 KB
/
Makefile.project_rules
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
ada_2012_extensions:
if [ ! -d ada_2012_extensions ]; then ( rm -f ada_2012_extensions && git clone https://github.com/AdaHeads/Ada_2012 ada_2012_extensions ); fi
ada_2012_extensions-update: ada_2012_extensions
cd ada_2012_extensions && git pull
black:
if [ ! -d black ]; then ( rm -f black && git clone https://github.com/AdaHeads/Black black ); fi
black-update: black
cd black && git pull
gnat-sockets-extras:
if [ ! -d gnat-sockets-extras ]; then ( rm -f gnat-sockets-extras && hg clone http://repositories.jacob-sparre.dk/gnat-sockets-extras ); fi
rm -f gnat-sockets-extras/src/demo.adb
rm -f gnat-sockets-extras/src/gnat-sockets-compatibility.ads
rm -f gnat-sockets-extras/src/gnat-sockets-compatibility.adb
gnat-sockets-extras-update: gnat-sockets-extras
cd gnat-sockets-extras && hg pull && hg update && hg revert --all
rm -f gnat-sockets-extras/src/demo.adb
rm -f gnat-sockets-extras/src/gnat-sockets-compatibility.ads
rm -f gnat-sockets-extras/src/gnat-sockets-compatibility.adb
.PHONY: ada_2012_extensions-update black-update gnat-sockets-extras-update