exec sh shell when sshing, use lua booleans for options
[wmiirc-lua.git] / config.mk.dist
blob83058a3ad2e684828d6fd0d79721638a27786e8c
1 # ------------------------------------------------------------------------
2 # standard programs
3 CC = cc
4 INSTALL = install
5 POD2MAN = pod2man
7 # ------------------------------------------------------------------------
8 # things about lua
9 LUA_VERSION     = 5.1
10 LUA_PKG_NAME    = lua5.1
12 LUA_INC := $(shell pkg-config --cflags ${LUA_PKG_NAME})
13 LUA_LIB := $(shell pkg-config --libs ${LUA_PKG_NAME})
15 # ------------------------------------------------------------------------
16 # things about ixp
17 #IXP_PREFIX = ${HOME}
19 IXP_INC := -I${IXP_PREFIX}/usr/include
20 IXP_LIB := -L${IXP_PREFIX}/usr/lib -lixp
22 # ------------------------------------------------------------------------
23 # system directories
25 DESTDIR         =
26 PREFIX          = /usr/local
28 CORE_LIB_DIR    = ${DESTDIR}${PREFIX}/lib/lua/${LUA_VERSION}
29 CORE_LUA_DIR    = ${DESTDIR}${PREFIX}/share/lua/${LUA_VERSION}
31 PLUGIN_LIB_DIR  = ${DESTDIR}${PREFIX}/lib/lua/${LUA_VERSION}/wmii
32 PLUGIN_LUA_DIR  = ${DESTDIR}${PREFIX}/share/lua/${LUA_VERSION}/wmii
34 BIN_DIR         = ${DESTDIR}${PREFIX}/bin
35 RC_DIR          = ${DESTDIR}/etc/X11/wmii-3.5
36 MAN_DIR         = ${DESTDIR}${PREFIX}/share/man/man3
37 XS_DIR          = ${DESTDIR}${PREFIX}/share/xsessions
39 ALL_INSTALL_DIRS= ${CORE_LIB_DIR} \
40                   ${CORE_LUA_DIR} \
41                   ${PLUGIN_LIB_DIR} \
42                   ${PLUGIN_LUA_DIR} \
43                   ${BIN_DIR} \
44                   ${RC_DIR} \
45                   ${MAN_DIR} \
46                   ${XS_DIR}
48 # ------------------------------------------------------------------------
49 # home directories
51 HOME_WMII       = ~/.wmii-3.5
52 HOME_CORE       = ${HOME_WMII}/core
53 HOME_PLUGINS    = ${HOME_WMII}/plugins
54 HOME_BIN_DIR    = $(word 1,$(wildcard ~/usr/bin ~/bin) ~/bin)
56 ALL_HOME_DIRS   = ${HOME_CORE} \
57                   ${HOME_PLUGINS} \
58                   ${HOME_PLUGINS}