From 7b7324bdb979d0cdd4010d81f694164229ae0aa1 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 8 Sep 2024 14:27:05 +0200 Subject: CMOD and LMOD paths for CMake with GNUInstallDirs --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9006bee --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +PREFIX=/usr/local +DATADIR=$(PREFIX)/share +MODULESDIR=$(DATADIR)/cmake/Modules + +all: + @echo Nothing to do + +install: + install -m644 -Dt $(DESTDIR)$(MODULESDIR) LuaInstallDirs.cmake + +uninstall: + rm -f $(DESTDIR)$(MODULESDIR)/LuaInstallDirs.cmake + +.PHONY: all install uninstall -- cgit v1.1