oops a type-o
[wmiirc-lua.git] / Makefile
blobd5fa686bcc57c247e5ecc9feb00dba927b5c9e05
1 .PHONY: all luaixp clean install
2 all: luaixp
4 luaixp:
5 ${MAKE} -C luaixp
7 clean:
8 -rm *~
9 -${MAKE} -C luaixp clean
11 install:
12 ifeq ($(shell pwd),$(wildcard ~/.wmii-3.5))
13 @echo "You're already in the ~/wmii-3.5/ directory"
14 else
15 mkdir -p ~/.wmii-3.5/core/ ~/.wmii-3.5/plugins/
16 if test -f ~/.wmii-3.5/wmiirc ; then \
17 cp wmiirc.lua ~/.wmii-3.5/wmiirc.dist ; \
18 chmod +x ~/.wmii-3.5/wmiirc.dist ; \
19 else ; \
20 cp wmiirc.lua ~/.wmii-3.5/wmiirc ; \
21 chmod +x ~/.wmii-3.5/wmiirc ; \
22 end
23 cp plugins/*.lua ~/.wmii-3.5/plugins/
24 ${MAKE} -C luaixp install
25 # TODO: install manpage somewhere (~/usr/share/man/man3lua/ ?)
26 endif
29 man:
30 pod2man \
31 --name=wmii \
32 --center="WMII Lua Integration" \
33 --section=3lua \
34 --release="wmii 3.6" \
35 wmii.lua wmii.3lua