[Makefile] Respect luarocks install path rules.
This commit is contained in:
parent
eefe4d3f6c
commit
ebcc9c4220
6
Makefile
6
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue