-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGNUmakefile
41 lines (32 loc) · 1.23 KB
/
GNUmakefile
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
pretty:
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web openrecursion.fdoc
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web embedc.fdoc
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web corout.fdoc
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web views.fdoc
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web regex.fdoc
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web ../felix/src/packages/lists.fdoc
tut:
for file in /Users/skaller/felix/src/web/tut/*.fdoc; do \
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=web "$${file}"; \
done
for file in web/*.html; do sed -i -e s/fdoc/html/g $${file}; done
rm web/*.html-e
packages:
for file in /Users/skaller/felix/src/packages/*.fdoc; do \
env DYLD_LIBRARY_PATH=${LD_LIBRARY_PATH} flx_pretty --outdir=packages "$${file}"; \
done
for file in packages/*.html; do sed -i -e s/fdoc/html/g $${file}; done
rm -rf packages/*.html-e
extract:
flx_iscr embedc.fdoc
flx_iscr corout.fdoc
flx_iscr openrecursion.fdoc
flx_iscr regex.fdoc
test:
flx --regex='examples/.*\.flx'
deploy:
git add examples/*/*.flx
git commit -a
git push
all: pretty extract test deploy
.PHONY: packages