diff options
author | Tobiasz Laskowski <tobil4sk@outlook.com> | 2025-02-24 22:24:59 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-02-24 20:11:55 -0300 |
commit | 28f9d98558f0f34a5f3d73b6bfa7a3f30856a5c9 (patch) | |
tree | d8c0a1e2c4dde29c6140ab45b778751068286600 | |
parent | 20944c76ff1c50f1a8af1e6df90c90cd08756ae6 (diff) | |
download | luarocks-28f9d98558f0f34a5f3d73b6bfa7a3f30856a5c9.tar.gz luarocks-28f9d98558f0f34a5f3d73b6bfa7a3f30856a5c9.tar.bz2 luarocks-28f9d98558f0f34a5f3d73b6bfa7a3f30856a5c9.zip |
Add compat53 installation to GNUmakefile
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index dade806d..46be0cc6 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
@@ -119,6 +119,16 @@ install: all install-config | |||
119 | do \ | 119 | do \ |
120 | $(INSTALL_DATA) "$$f" '$(DESTDIR)$(luadir)'/`echo $$f | sed 's,^src/,,'`; \ | 120 | $(INSTALL_DATA) "$$f" '$(DESTDIR)$(luadir)'/`echo $$f | sed 's,^src/,,'`; \ |
121 | done | 121 | done |
122 | ifeq (,$(findstring $(LUA_VERSION),"5.3" "5.4")) | ||
123 | find src/compat53/ -type d | while read f; \ | ||
124 | do \ | ||
125 | mkdir -p '$(DESTDIR)$(luadir)'/`echo $$f | sed 's,^src/,,'`; \ | ||
126 | done | ||
127 | find src/compat53/ -type f -name '*.lua' | while read f; \ | ||
128 | do \ | ||
129 | $(INSTALL_DATA) "$$f" '$(DESTDIR)$(luadir)'/`echo $$f | sed 's,^src/,,'`; \ | ||
130 | done | ||
131 | endif | ||
122 | 132 | ||
123 | install-config: | 133 | install-config: |
124 | mkdir -p '$(DESTDIR)$(luarocksconfdir)/' | 134 | mkdir -p '$(DESTDIR)$(luarocksconfdir)/' |