From c5e2de08ca488bff67024504898c6adfb6aa7e0c Mon Sep 17 00:00:00 2001 From: Dany LE Date: Wed, 3 Aug 2022 09:43:15 +0200 Subject: [PATCH] Update Makefile.am --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index a625862..f727206 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,6 @@ SUBDIRS = . lib EXTRA_DIST = README.md APIs install-data-local: - -mkdir -p $(prefix)/lib/lua - -cp -v APIs/* $(prefix)/lib/lua - -cp -v lib/core/lua-5.3.4/core.so $(prefix)/lib/lua + -mkdir -p $(DESTDIR)/$(prefix)/lib/lua + -cp -v APIs/* $(DESTDIR)/$(prefix)/lib/lua + -cp -v lib/core/lua-5.3.4/core.so $(DESTDIR)/$(prefix)/lib/lua