[Makefile,config.mk] Add rules to generate docs.
This commit is contained in:
parent
fdba08f403
commit
7983229896
5
Makefile
5
Makefile
|
@ -43,6 +43,11 @@ osx.o: osx.c xconf.h luacompat.h osx.h osx_dir.h
|
|||
$(lib): $(o) $(_o)
|
||||
$(LD) $(LIBFLAG) -o $@ $(_ldflags) $(LDFLAGS) $(o) $(_o)
|
||||
|
||||
doc/index.html: config.ld osx.c
|
||||
$(LDOC) .
|
||||
|
||||
doc: doc/index.html
|
||||
|
||||
install:
|
||||
-$(MKDIR) $(DESTDIR)$(LIBDIR)/osx $(DESTDIR)$(LIBDIR)/osx/include
|
||||
$(CP) $(lib) $(DESTDIR)$(LIBDIR)/osx/
|
||||
|
|
Loading…
Reference in New Issue