mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
2886e9b0e8
This avoids a lot of redundant calls to mkinstalldirs.
32 lines
626 B
Makefile
32 lines
626 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(mandir)/man$(api_manext)
|
|
|
|
@MAKE_RULES@
|
|
|
|
manpages:
|
|
$(MKINSTALLDIRS) man$(api_manext)
|
|
@cd $(DLLDIR) && $(MAKE) man
|
|
|
|
htmlpages:
|
|
$(MKINSTALLDIRS) html
|
|
@cd $(DLLDIR) && $(MAKE) doc-html
|
|
|
|
sgmlpages:
|
|
$(MKINSTALLDIRS) api-guide
|
|
@cd $(DLLDIR) && $(MAKE) doc-sgml
|
|
|
|
.PHONY: manpages htmlpages sgmlpages
|
|
|
|
install:: manpages $(INSTALLDIRS)
|
|
for i in man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
|
|
|
|
clean::
|
|
$(RM) -r html api-guide man$(api_manext)
|
|
|
|
### Dependencies:
|