-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
48 lines (40 loc) · 1.15 KB
/
Makefile
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
47
48
# building and paking formica
all: eng
clean:
rm -f plt/*.plt
# rm -f doc/*/*.html
# rm -f doc/*/*.js
# rm -f doc/*/*.css
rm -f *.*~ */*.*~ */*/*.*~
rm -f *.bak */*.bak */*/*.bak
find -name compiled | xargs rm -fr
pack: pack-eng pack-rus
pack-eng: clean
# Packing english version
cat plt/info-eng.rkt > info.rkt
rm -f plt/*.plt
cd ..; \
raco pack --plt-name "Formica 1.0" --replace --at-plt ++setup formica formica.plt formica formica/doc/eng; \
mv -f formica.plt formica/plt/; \
cd formica
pack-rus: clean
# Packing russian version
cat plt/info-rus.rkt > info.rkt
rm -f plt/*.plt
cd ..; \
raco pack --plt-name "Formica 1.0" --replace --at-plt ++setup formica formica-rus.plt formica formica/doc/rus formica/doc/FLPBook/FLPBook.pdf formica/doc/FLPBook/FLPBook.png; \
mv -f formica-rus.plt formica/plt/; \
cd formica
eng:
# Making english version
cat plt/info-eng.rkt > info.rkt
raco setup -p formica && raco setup -U
rus:
# Making russian version
cat plt/info-rus.rkt > info.rkt
raco setup -p formica && raco setup -U
install:
# liniking formica
cd ..; raco link -l formica; cd formica
# installing package
raco setup -p formica && raco setup -U