wine/documentation/Makefile.in
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00

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: