diff options
Diffstat (limited to '')
-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)/' |