Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added 'standalone' target to Makefile.

This creates a standalone executable version of lunamark in the
standalone directory.  It doesn't require that lua or other
lua libraries be installed.  The lua interpreter is baked into
the executable.

It also uses a version of lpeg that has been modified to allow
for larger grammars.

See the patch in standalone/.
  • Loading branch information...
commit 73a34c0ea14b81a25710282ba175a2141b80a4d6 1 parent 1f4e565
@jgm authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
6 Makefile
@@ -12,7 +12,7 @@ TESTOPTS ?= --tidy
all:
@echo Targets: test bench docs run-code-examples install clean
-.PHONY: test bench docs clean run-code-examples install website
+.PHONY: test bench docs clean run-code-examples install website standalone
test:
LUNAMARK_EXTENSIONS="" bin/shtest ${TESTOPTS} -p ${PROG} ${OPTS}
@@ -64,5 +64,9 @@ website: docs ${web}/index.html
${web}/index.html: README.markdown ${templatesdir}/web.html
bin/lunamark -Xdefinition_lists,smart --template ${templatesdir}/web.html -o $@ $<
+standalone: ${luas}
+ make -C standalone
+
clean:
-rm -rf doc ${testfile} ${benchtext} lunamark.1 lunadoc.1
+ make -C standalone clean
Please sign in to comment.
Something went wrong with that request. Please try again.