diff options
author | Aki <please@ignore.pl> | 2023-12-29 02:49:19 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-12-29 02:49:19 +0100 |
commit | 16c1d512c91cd91d0f3a81cc451a7add636370e0 (patch) | |
tree | 81aff82e685bf9ba4ba2d147a5d152d8e971dc50 | |
parent | 19d76ae82e661db43740f957373ed0f6c6ecbd03 (diff) | |
download | activity-16c1d512c91cd91d0f3a81cc451a7add636370e0.zip activity-16c1d512c91cd91d0f3a81cc451a7add636370e0.tar.gz activity-16c1d512c91cd91d0f3a81cc451a7add636370e0.tar.bz2 |
Tweaked style of the makefile
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,22 +1,22 @@ -LUAVERSION?=5.4 +LUA_VERSION?=5.4 PREFIX?=/usr/local BINDIR=$(PREFIX)/bin LIBDIR=$(PREFIX)/lib DATADIR=$(PREFIX)/share -LUADIR=$(DATADIR)/lua/$(LUAVERSION) +LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION) all: @echo Nothing to be built install: - install -m644 -Dt $(DESTDIR)$(LUADIR) activity.lua - install -m644 -Dt $(DESTDIR)$(LUADIR)/activity activity/*.lua - install -m644 -Dt $(DESTDIR)$(LUADIR)/activity/formats activity/formats/*.lua - install -m655 -Dt $(DESTDIR)$(BINDIR) generate.lua + install -m644 -Dt $(DESTDIR)$(LUA_LMOD) activity.lua + install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/activity activity/*.lua + install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/activity/formats activity/formats/*.lua + install -m755 -Dt $(DESTDIR)$(BINDIR) generate.lua uninstall: - rm -f $(DESTDIR)$(LUADIR)/activity.lua - rm -rf $(DESTDIR)$(LUADIR)/activity + rm -f $(DESTDIR)$(LUA_LMOD)/activity.lua + rm -rf $(DESTDIR)$(LUA_LMOD)/activity rm -f $(DESTIR)$(BINDIR)/generate.lua test: |