[PATCH xorg-gtest 3/4] Disable man page documentation generation and installation

Chase Douglas chase.douglas at canonical.com
Wed Jul 25 11:46:50 PDT 2012


Now that we have marked some methods as deprecated, a "deprecated.3" man
page is created. Since the filename isn't namespaced, it could collide
with other documentation.

The man pages are kinda nice, but they really aren't that useful. It's
much better to use the HTML documentation. The simplest thing to do is
to remove the man page generation and installation.

Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
 doc/Doxyfile.in |    2 +-
 doc/Makefile.am |    4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index cea27ce..08f22b8 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1399,7 +1399,7 @@ RTF_EXTENSIONS_FILE    =
 # If the GENERATE_MAN tag is set to YES (the default) Doxygen will
 # generate man pages
 
-GENERATE_MAN           = YES
+GENERATE_MAN           = NO
 
 # The MAN_OUTPUT tag is used to specify where the man pages will be put.
 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5d07f73..11117f8 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,10 +34,6 @@ install-data-local:
 		$(INSTALL) -d $(DESTDIR)$(docdir); \
 		cp -a api/html $(DESTDIR)$(docdir); \
 	fi
-	if [ -d api/man ]; then \
-		$(INSTALL) -d $(DESTDIR)$(mandir)/man3; \
-		$(INSTALL) api/man/man3/* $(DESTDIR)$(mandir)/man3; \
-	fi
 endif
 
 clean-local:
-- 
1.7.10.4



More information about the xorg-devel mailing list