webmcp

view Makefile @ 197:e81669ae2e4d

Fix in autodoc.lua to allow ellipsis in return values
author jbe
date Mon Aug 11 21:54:23 2014 +0200 (2014-08-11)
parents 654ddbcc49d0
children c6ef9991b911
line source
1 include Makefile.options
3 all::
4 make documentation
5 make accelerator
6 make libraries
7 make symlinks
8 make precompile
10 documentation::
11 rm -f doc/autodoc.tmp
12 $(LUA_BIN) framework/bin/autodoc.lua framework/cgi-bin/ framework/env/ libraries/ > doc/autodoc.tmp
13 cat doc/autodoc-header.htmlpart doc/autodoc.tmp doc/autodoc-footer.htmlpart > doc/autodoc.html
14 rm -f doc/autodoc.tmp
16 accelerator::
17 cd framework/accelerator; make
19 libraries::
20 cd libraries/extos; make
21 cd libraries/json; make
22 cd libraries/mondelefant; make
23 cd libraries/multirand; make
25 symlinks::
26 ln -s -f ../../libraries/atom/atom.lua framework/lib/
27 ln -s -f ../../libraries/extos/extos.so framework/lib/
28 ln -s -f ../../libraries/json/json.so framework/lib/
29 ln -s -f ../../libraries/mondelefant/mondelefant.lua framework/lib/
30 ln -s -f ../../libraries/mondelefant/mondelefant_native.so framework/lib/
31 ln -s -f ../../libraries/mondelefant/mondelefant_atom_connector.lua framework/lib/
32 ln -s -f ../../libraries/multirand/multirand.so framework/lib/
33 ln -s -f ../../libraries/rocketcgi/rocketcgi.lua framework/lib/
34 ln -s -f ../../libraries/nihil/nihil.lua framework/lib/
35 ln -s -f ../../libraries/luatex/luatex.lua framework/lib/
37 precompile::
38 rm -Rf framework.precompiled
39 rm -Rf demo-app.precompiled
40 sh framework/bin/recursive-luac $(LUAC_BIN) framework/ framework.precompiled/
41 rm -f framework.precompiled/accelerator/Makefile
42 rm -f framework.precompiled/accelerator/webmcp_accelerator.c
43 rm -f framework.precompiled/accelerator/webmcp_accelerator.o
44 framework/bin/recursive-luac $(LUAC_BIN) demo-app/ demo-app.precompiled/
46 clean::
47 rm -f doc/autodoc.tmp doc/autodoc.html
48 rm -Rf framework.precompiled
49 rm -Rf demo-app.precompiled
50 rm -f demo-app/tmp/*
51 rm -f framework/lib/*
52 cd libraries/extos; make clean
53 cd libraries/mondelefant; make clean
54 cd libraries/multirand; make clean
55 cd framework/accelerator; make clean

Impressum / About Us