1 # ------------------------------------------------------------------------
7 # ------------------------------------------------------------------------
12 LUA_INC := $(shell pkg-config --cflags ${LUA_PKG_NAME})
13 LUA_LIB := $(shell pkg-config --libs ${LUA_PKG_NAME})
15 # ------------------------------------------------------------------------
19 IXP_INC := -I${IXP_PREFIX}/usr/include
20 IXP_LIB := -L${IXP_PREFIX}/usr/lib -lixp
22 # ------------------------------------------------------------------------
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} \
48 # ------------------------------------------------------------------------
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} \