[build] Use good path to Lua interpreter
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
b1c20dd651
commit
8d0f2bcb07
|
@ -199,7 +199,7 @@ CLEANFILES += apidocgen.txt
|
|||
BUILT_SOURCES += apidocgen.txt
|
||||
APIDOCSOURCES=$(shell grep -l 'const struct luaL_reg' $(awesome_SOURCES))
|
||||
apidocgen.txt: $(APIDOCSOURCES) build-utils/gendoc.lua
|
||||
cat $(APIDOCSOURCES) | $(top_srcdir)/build-utils/gendoc.lua > apidocgen.txt
|
||||
cat $(APIDOCSOURCES) | $(LUA) $(top_srcdir)/build-utils/gendoc.lua > apidocgen.txt
|
||||
.1.txt.1.xml:
|
||||
$(ASCIIDOC) -d manpage -b docbook -o $@ $<
|
||||
awesomerc.5.xml: apidocgen.txt
|
||||
|
|
|
@ -107,6 +107,10 @@ AC_PATH_PROG([WHOAMI], [whoami], [false])
|
|||
AS_IF([test "x$WHOAMI" = "xfalse"], [aw_whoami="???"], [aw_whoami=`$WHOAMI`])
|
||||
AC_DEFINE_UNQUOTED([AWESOME_COMPILE_BY], ["$aw_whoami"], [build user])
|
||||
|
||||
AC_ARG_VAR([LUA], [Lua interpreter])
|
||||
AC_PATH_PROG([LUA], [lua], [:])
|
||||
test "x$LUA" = "x:" && AC_MSG_WARN([awesome compilation requires Lua])
|
||||
|
||||
AS_AC_EXPAND(awesomelibdir, "$datarootdir/awesome/lib")
|
||||
AC_DEFINE_UNQUOTED([AWESOME_LUA_LIB_PATH], "${awesomelibdir}", [awesome lib path])
|
||||
|
||||
|
|
Loading…
Reference in New Issue