src/makefile: Use install instead of cp and mkdir.

This commit is contained in:
Kim Alvefur 2012-05-15 18:44:38 +02:00
parent c624761d32
commit 36461db5bb

View File

@ -75,9 +75,9 @@ print:
# Install directories # Install directories
# #
INSTALL_DIR=mkdir -p INSTALL_DIR=install -d
INSTALL_DATA=cp INSTALL_DATA=install -m644
INSTALL_EXEC=cp INSTALL_EXEC=install
INSTALL_TOP=$(DESTDIR)$(prefix) INSTALL_TOP=$(DESTDIR)$(prefix)
INSTALL_TOP_SHARE=$(INSTALL_TOP)/share/lua/$(LUAV) INSTALL_TOP_SHARE=$(INSTALL_TOP)/share/lua/$(LUAV)