This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Autogeneration of man pages
- To: gcc-patches at gcc dot gnu dot org
- Subject: Autogeneration of man pages
- From: Angela Marie Thomas <angela at cygnus dot com>
- Date: Mon, 08 Oct 2001 14:05:36 -0700
Following is a patch to generate man pages only if maintainer-mode is
enabled. I'm submitting this at the request of several folks.
One argument for doing it only during a maintainer-mode configuration
is that many folks have a read-only source tree and do not want files
created in the source tree by default. Another is that folks do not
want a dependency on perl by default.
In the interest of completeness, I attempted bootstrap builds on Solaris
and Linux but the Linux builds fail building libstdc++, something
completley unrelated to this patch. Solaris completed successfully and
as expected.
2001-10-02 Angela Marie Thomas <angela@redhat.com>
* Makefile.in: Generate man pages only if maintainer-mode enabled.
Index: ./gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.742
diff -p -r1.742 Makefile.in
*** ./gcc/Makefile.in 2001/10/02 07:12:19 1.742
- --- ./gcc/Makefile.in 2001/10/02 18:00:45
*************** gcc.dvi: $(docdir)/gcc.texi $(docdir)/ex
*** 2323,2329 ****
cppinternals.dvi: $(docdir)/cppinternals.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cppinternals.te
xi
! generated-manpages: $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1
$(docdir)/gcov.1: $(docdir)/gcov.texi
$(STAMP) $(docdir)/gcov.1
- --- 2323,2329 ----
cppinternals.dvi: $(docdir)/cppinternals.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cppinternals.te
xi
! generated-manpages: @MAINT@ $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1
$(docdir)/gcov.1: $(docdir)/gcov.texi
$(STAMP) $(docdir)/gcov.1
------- End of Forwarded Message