[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
1 changed files with 3 additions and 3 deletions

View File

@ -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)