1
0
mirror of https://codeberg.org/1414codeforge/lua-osx.git synced 2025-04-06 22:31:14 +02:00

[Makefile] Respect luarocks install path rules.

This commit is contained in:
Lorenzo Cogotti 2022-12-15 11:53:12 +01:00
parent eefe4d3f6c
commit ebcc9c4220

@ -49,9 +49,9 @@ doc/index.html: README.md config.ld osx.c
doc: doc/index.html
install:
-$(MKDIR) $(DESTDIR)$(LIBDIR)/osx $(DESTDIR)$(LIBDIR)/osx/include
$(CP) $(lib) $(DESTDIR)$(LIBDIR)/osx/
$(CP) osx.h osx_dir.h $(DESTDIR)$(LIBDIR)/osx/include/
-$(MKDIR) $(DESTDIR)$(LIBDIR)/include
$(CP) $(lib) $(DESTDIR)$(LIBDIR)/
$(CP) osx.h osx_dir.h $(DESTDIR)$(LIBDIR)/include/
uninstall:
-$(RM) $(DESTDIR)$(LIBDIR)/osx/$(lib)