summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-09-08 14:27:05 +0200
committerAki <please@ignore.pl>2024-09-08 14:27:05 +0200
commit7b7324bdb979d0cdd4010d81f694164229ae0aa1 (patch)
tree56093776633f9d1c191e606b603dbfd7bed236e8 /Makefile
downloadcmake-lua-install-dirs-master.zip
cmake-lua-install-dirs-master.tar.gz
cmake-lua-install-dirs-master.tar.bz2
CMOD and LMOD paths for CMake with GNUInstallDirsHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
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