aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2011-01-15 20:32:15 -0500
committerThomas Harning Jr <harningt@gmail.com>2011-01-15 20:32:15 -0500
commit5ec63dfcc62a70be811e2abd09e372113500beec (patch)
tree20a7198cd5012bb1fcde84643ca98e93eb720706 /Makefile
parent938d68fa73d5ded18d33dcf40077e627fd2b975a (diff)
parentd1c516f4beb47e79fb886e46a4b6e0cf432d850a (diff)
downloadluaevent-prosody-5ec63dfcc62a70be811e2abd09e372113500beec.tar.gz
luaevent-prosody-5ec63dfcc62a70be811e2abd09e372113500beec.zip
Merge remote branch 'jsnyder-tree/master'
Conflicts: CHANGELOG Makefile README
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 56241a3..9620648 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,10 @@ all:
$(CC) $(LDFLAGS) -o $(LIB) *.o -L$(LUA_LIB_DIR) -l$(LUA_LIB) -levent
install: all
- $(INSTALL_DATA) -D lua/luaevent.lua $(DESTDIR)$(INSTALL_DIR_LUA)/luaevent.lua
- $(INSTALL_PROGRAM) -D $(LIB) $(DESTDIR)$(INSTALL_DIR_BIN)/luaevent/$(LIB)
+ mkdir -p $(DESTDIR)$(INSTALL_DIR_LUA)
+ $(INSTALL_DATA) lua/luaevent.lua $(DESTDIR)$(INSTALL_DIR_LUA)/luaevent.lua
+ mkdir -p $(DESTDIR)$(INSTALL_DIR_BIN)/luaevent/
+ $(INSTALL_PROGRAM) $(LIB) $(DESTDIR)$(INSTALL_DIR_BIN)/luaevent/$(LIB)
clean:
rm -f *.so