summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1281519..8546c19 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ TAR=tar
P=$(PACKAGE)-$(VERSION)
tarball=$(P).tar.bz2
-install_dir=$(DESTDIR)/usr/share/lua/5.1/acf
+install_dir=$(DESTDIR)/$(luadir)
all:
clean:
@@ -43,4 +43,6 @@ dist-install: $(tarball)
$(MAKE) -C $(P) install DESTDIR=$(DESTDIR)
rm -rf $(P)
+include config.mk
+
.PHONY: all clean dist install dist-install