webmcp

view Makefile @ 439:29b1f7a04934

Updated documentation
author jbe
date Fri Feb 05 01:26:00 2016 +0100 (2016-02-05)
parents 0a6378afc6da
children b36e366bba2b
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/bin/mcp.lua 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/nihil/nihil.lua framework/lib/
34 ln -s -f ../../libraries/luatex/luatex.lua framework/lib/
36 precompile::
37 rm -Rf framework.precompiled
38 rm -Rf demo-app.precompiled
39 sh framework/bin/recursive-luac $(LUAC_BIN) framework/ framework.precompiled/
40 rm -f framework.precompiled/accelerator/Makefile
41 rm -f framework.precompiled/accelerator/webmcp_accelerator.c
42 rm -f framework.precompiled/accelerator/webmcp_accelerator.o
43 framework/bin/recursive-luac $(LUAC_BIN) demo-app/ demo-app.precompiled/
45 clean::
46 rm -f doc/autodoc.tmp doc/autodoc.html
47 rm -Rf framework.precompiled
48 rm -Rf demo-app.precompiled
49 rm -f demo-app/tmp/*
50 rm -f framework/lib/*
51 cd libraries/extos; make clean
52 cd libraries/mondelefant; make clean
53 cd libraries/multirand; make clean
54 cd libraries/json; make clean
55 cd framework/accelerator; make clean

Impressum / About Us