Module: wine Branch: master Commit: f94c8669c58aecf4abb8269d8424df210f4b474d URL: http://source.winehq.org/git/wine.git/?a=commit;h=f94c8669c58aecf4abb8269d84...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Oct 8 11:27:13 2013 +0200
makefiles: Move the API documentation rules to the global Make.rules file.
---
Make.rules.in | 14 ++++++++++++++ dlls/Makedll.rules.in | 16 ---------------- 2 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/Make.rules.in b/Make.rules.in index 84a05c2..07b43c1 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -162,6 +162,20 @@ uninstall-man-pages::
.PHONY: install-man-pages uninstall-man-pages
+# Rules for auto documentation + +manpages:: $(C_SRCS) dummy + $(C2MAN) -o $(top_builddir)/documentation/man$(api_manext) -R$(top_builddir) -C$(srcdir) $(INCLUDES) -S$(api_manext) $(MAINSPEC:%=-w %) $(C_SRCS) + +htmlpages:: $(C_SRCS) dummy + $(C2MAN) -o $(top_builddir)/documentation/html -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Th $(MAINSPEC:%=-w %) $(C_SRCS) + +sgmlpages:: $(C_SRCS) dummy + $(C2MAN) -o $(top_builddir)/documentation/api-guide -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Ts $(MAINSPEC:%=-w %) $(C_SRCS) + +xmlpages:: $(C_SRCS) dummy + $(C2MAN) -o $(top_builddir)/documentation/api-guide-xml -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Tx $(MAINSPEC:%=-w %) $(C_SRCS) + # Rules for cleaning
$(EXTRASUBDIRS:%=%/clean): dummy diff --git a/dlls/Makedll.rules.in b/dlls/Makedll.rules.in index 2e23116..3a6e959 100644 --- a/dlls/Makedll.rules.in +++ b/dlls/Makedll.rules.in @@ -19,19 +19,3 @@ all: $(MODULE)$(DLLEXT) $(MODULE)$(FAKEEXT)
$(MODULE) $(MODULE).so $(MODULE).fake: $(MAINSPEC) $(OBJS) Makefile.in $(WINEGCC) -shared $(srcdir)/$(MAINSPEC) $(OBJS) $(EXTRADLLFLAGS) -o $@ $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS) - -# Rules for auto documentation - -manpages:: $(C_SRCS) dummy - $(C2MAN) -o $(top_builddir)/documentation/man$(api_manext) -R$(top_builddir) -C$(srcdir) -S$(api_manext) $(INCLUDES) $(MAINSPEC:%=-w %) $(C_SRCS) - -htmlpages:: $(C_SRCS) dummy - $(C2MAN) -o $(top_builddir)/documentation/html -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Th $(MAINSPEC:%=-w %) $(C_SRCS) - -sgmlpages:: $(C_SRCS) dummy - $(C2MAN) -o $(top_builddir)/documentation/api-guide -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Ts $(MAINSPEC:%=-w %) $(C_SRCS) - -xmlpages:: $(C_SRCS) dummy - $(C2MAN) -o $(top_builddir)/documentation/api-guide-xml -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Tx $(MAINSPEC:%=-w %) $(C_SRCS) - -# End of global dll rules