webmcp

view Makefile @ 111:43986d8dacf3

Better (and bugfixed) implementation of string truncating in format.string(...)
author jbe
date Mon Jan 13 21:37:23 2014 +0100 (2014-01-13)
parents 9fdfb27f8e67
children 30391b40722f
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 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/mondelefant; make
22 cd libraries/multirand; make
24 symlinks::
25 ln -s -f ../../libraries/atom/atom.lua framework/lib/
26 ln -s -f ../../libraries/extos/extos.so framework/lib/
27 ln -s -f ../../libraries/mondelefant/mondelefant.lua framework/lib/
28 ln -s -f ../../libraries/mondelefant/mondelefant_native.so framework/lib/
29 ln -s -f ../../libraries/mondelefant/mondelefant_atom_connector.lua framework/lib/
30 ln -s -f ../../libraries/multirand/multirand.so framework/lib/
31 ln -s -f ../../libraries/rocketcgi/rocketcgi.lua framework/lib/
32 ln -s -f ../../libraries/nihil/nihil.lua framework/lib/
33 ln -s -f ../../libraries/luatex/luatex.lua framework/lib/
35 precompile::
36 rm -Rf framework.precompiled
37 rm -Rf demo-app.precompiled
38 sh framework/bin/recursive-luac framework/ framework.precompiled/
39 rm -f framework.precompiled/accelerator/Makefile
40 rm -f framework.precompiled/accelerator/webmcp_accelerator.c
41 rm -f framework.precompiled/accelerator/webmcp_accelerator.o
42 framework/bin/recursive-luac demo-app/ demo-app.precompiled/
44 clean::
45 rm -f doc/autodoc.tmp doc/autodoc.html
46 rm -Rf framework.precompiled
47 rm -Rf demo-app.precompiled
48 rm -f demo-app/tmp/*
49 rm -f framework/lib/*
50 cd libraries/extos; make clean
51 cd libraries/mondelefant; make clean
52 cd libraries/multirand; make clean
53 cd framework/accelerator; make clean

Impressum / About Us