Commit 77bd67cb by Joseph Myers Committed by Joseph Myers

texi2pod.pl: Handle @ifnottex, @iftex and @display.

contrib:
	* texi2pod.pl: Handle @ifnottex, @iftex and @display.  Handle @var
	in verbatim blocks specially.  Handle @unnumbered, @unnumberedsec
	and @center.  Allow [a-z] after @enumerate.  Handle 0 and numbers
	greater than 9 in enumerations.

gcc:
	* Makefile.in (POD2MAN): Don't include --section=1.
	(manext): Rename to man1ext.  All users changed.
	(man7ext): New.
	(man7dir): New.
	(generated-manpages): Also depend on $(docdir)/gfdl.7,
	$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
	($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
	--section=1 in calls to $(POD2MAN).
	($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
	(maintainer-clean, install, uninstall): Handle the new man pages.
	($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
	(installdirs): Create man7dir.
	* doc/cpp.texi: Include GFDL in this manual.  In the man page,
	refer to gfdl(7) for the GFDL.  Apply Front Cover and Back Cover
	texts to man page.  Include gpl(7), gfdl(7) and fsf-funding(7) in
	the SEE ALSO man page section.
	* doc/gcov.texi: Apply GFDL to man page.  Include gpl(7), gfdl(7)
	and fsf-funding(7) in the SEE ALSO man page section.
	* doc/invoke.texi: Apply GFDL to man page.  Include gpl(7),
	gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
	* doc/include/fdl.texi, doc/include/funding.texi,
	doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
	* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.

gcc/cp:
	* Make-lang.in: Change all uses of $(manext) to $(man1ext).

gcc/f:
	* Make-lang.in: Change all uses of $(manext) to $(man1ext).

From-SVN: r46998
parent a8988448
2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
* texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var
in verbatim blocks specially. Handle @unnumbered, @unnumberedsec
and @center. Allow [a-z] after @enumerate. Handle 0 and numbers
greater than 9 in enumerations.
2001-11-07 Laurent Guerby <guerby@acm.org> 2001-11-07 Laurent Guerby <guerby@acm.org>
* gcc_update (files_and_dependencies): Add Ada dependencies. * gcc_update (files_and_dependencies): Add Ada dependencies.
......
...@@ -71,6 +71,7 @@ while(<STDIN>) ...@@ -71,6 +71,7 @@ while(<STDIN>)
|(?:end\s+)?group # @group .. @end group: ditto |(?:end\s+)?group # @group .. @end group: ditto
|page # @page: ditto |page # @page: ditto
|node # @node: useful only in .info file |node # @node: useful only in .info file
|(?:end\s+)?ifnottex # @ifnottex .. @end ifnottex: use contents
)\b/x and next; )\b/x and next;
chomp; chomp;
...@@ -102,17 +103,17 @@ while(<STDIN>) ...@@ -102,17 +103,17 @@ while(<STDIN>)
# Ignore @end foo, where foo is not an operation which may # Ignore @end foo, where foo is not an operation which may
# cause us to skip, if we are presently skipping. # cause us to skip, if we are presently skipping.
my $ended = $1; my $ended = $1;
next if $skipping && $ended !~ /^(?:ifset|ifclear|ignore|menu)$/; next if $skipping && $ended !~ /^(?:ifset|ifclear|ignore|menu|iftex)$/;
die "\@end $ended without \@$ended at line $.\n" unless defined $endw; die "\@end $ended without \@$ended at line $.\n" unless defined $endw;
die "\@$endw ended by \@end $ended at line $.\n" unless $ended eq $endw; die "\@$endw ended by \@end $ended at line $.\n" unless $ended eq $endw;
$endw = pop @endwstack; $endw = pop @endwstack;
if ($ended =~ /^(?:ifset|ifclear|ignore|menu)$/) { if ($ended =~ /^(?:ifset|ifclear|ignore|menu|iftex)$/) {
$skipping = pop @skstack; $skipping = pop @skstack;
next; next;
} elsif ($ended =~ /^(?:example|smallexample)$/) { } elsif ($ended =~ /^(?:example|smallexample|display)$/) {
$shift = ""; $shift = "";
$_ = ""; # need a paragraph break $_ = ""; # need a paragraph break
} elsif ($ended =~ /^(?:itemize|enumerate|table)$/) { } elsif ($ended =~ /^(?:itemize|enumerate|table)$/) {
...@@ -142,7 +143,7 @@ while(<STDIN>) ...@@ -142,7 +143,7 @@ while(<STDIN>)
next; next;
}; };
/^\@(ignore|menu)\b/ and do { /^\@(ignore|menu|iftex)\b/ and do {
push @endwstack, $endw; push @endwstack, $endw;
push @skstack, $skipping; push @skstack, $skipping;
$endw = $1; $endw = $1;
...@@ -171,6 +172,12 @@ while(<STDIN>) ...@@ -171,6 +172,12 @@ while(<STDIN>)
s/\@\{/&lbrace;/g; s/\@\{/&lbrace;/g;
s/\@\}/&rbrace;/g; s/\@\}/&rbrace;/g;
s/\@\@/&at;/g; s/\@\@/&at;/g;
# Inside a verbatim block, handle @var specially.
if ($shift ne "") {
s/\@var\{([^\}]*)\}/<$1>/g;
}
# POD doesn't interpret E<> inside a verbatim block. # POD doesn't interpret E<> inside a verbatim block.
if ($shift eq "") { if ($shift eq "") {
s/</&lt;/g; s/</&lt;/g;
...@@ -184,7 +191,7 @@ while(<STDIN>) ...@@ -184,7 +191,7 @@ while(<STDIN>)
/^\@set\s+([a-zA-Z0-9_-]+)\s*(.*)$/ and $defs{$1} = $2, next; /^\@set\s+([a-zA-Z0-9_-]+)\s*(.*)$/ and $defs{$1} = $2, next;
/^\@clear\s+([a-zA-Z0-9_-]+)/ and delete $defs{$1}, next; /^\@clear\s+([a-zA-Z0-9_-]+)/ and delete $defs{$1}, next;
/^\@section\s+(.+)$/ and $_ = "\n=head2 $1\n"; /^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/ and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/ and $_ = "\n=head3 $1\n"; /^\@subsection\s+(.+)$/ and $_ = "\n=head3 $1\n";
# Block command handlers: # Block command handlers:
...@@ -196,7 +203,7 @@ while(<STDIN>) ...@@ -196,7 +203,7 @@ while(<STDIN>)
$endw = "itemize"; $endw = "itemize";
}; };
/^\@enumerate(?:\s+([A-Z0-9]+))?/ and do { /^\@enumerate(?:\s+([a-zA-Z0-9]+))?/ and do {
push @endwstack, $endw; push @endwstack, $endw;
push @icstack, $ic; push @icstack, $ic;
if (defined $1) { if (defined $1) {
...@@ -220,7 +227,7 @@ while(<STDIN>) ...@@ -220,7 +227,7 @@ while(<STDIN>)
$endw = "table"; $endw = "table";
}; };
/^\@((?:small)?example)/ and do { /^\@((?:small)?example|display)/ and do {
push @endwstack, $endw; push @endwstack, $endw;
$endw = $1; $endw = $1;
$shift = "\t"; $shift = "\t";
...@@ -233,7 +240,8 @@ while(<STDIN>) ...@@ -233,7 +240,8 @@ while(<STDIN>)
$_ = "\n=item $ic\&LT;$1\&GT;\n"; $_ = "\n=item $ic\&LT;$1\&GT;\n";
} else { } else {
$_ = "\n=item $ic\n"; $_ = "\n=item $ic\n";
$ic =~ y/A-Ya-y1-8/B-Zb-z2-9/; $ic =~ y/A-Ya-y/B-Zb-z/;
$ic =~ s/(\d+)/$1 + 1/eg;
} }
}; };
......
2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext. All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual. In the man page,
refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
2001-11-13 Richard Henderson <rth@redhat.com> 2001-11-13 Richard Henderson <rth@redhat.com>
* dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
......
...@@ -125,7 +125,7 @@ MAKEINFO = @MAKEINFO@ ...@@ -125,7 +125,7 @@ MAKEINFO = @MAKEINFO@
MAKEINFOFLAGS = MAKEINFOFLAGS =
TEXI2DVI = texi2dvi TEXI2DVI = texi2dvi
TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
POD2MAN = pod2man --center="GNU" --release="gcc-$(version)" --section=1 POD2MAN = pod2man --center="GNU" --release="gcc-$(version)"
# For GNUmake: let us decide what gets passed to recursive makes. # For GNUmake: let us decide what gets passed to recursive makes.
MAKEOVERRIDES = MAKEOVERRIDES =
@SET_MAKE@ @SET_MAKE@
...@@ -312,7 +312,8 @@ cpp_install_dir = @cpp_install_dir@ ...@@ -312,7 +312,8 @@ cpp_install_dir = @cpp_install_dir@
datadir = @datadir@ datadir = @datadir@
localedir = $(datadir)/locale localedir = $(datadir)/locale
# Extension (if any) to put in installed man-page filename. # Extension (if any) to put in installed man-page filename.
manext = .1 man1ext = .1
man7ext = .7
objext = .o objext = .o
exeext = @host_exeext@ exeext = @host_exeext@
build_exeext = @build_exeext@ build_exeext = @build_exeext@
...@@ -320,6 +321,7 @@ build_exeext = @build_exeext@ ...@@ -320,6 +321,7 @@ build_exeext = @build_exeext@
# Directory in which to put man pages. # Directory in which to put man pages.
mandir = @mandir@ mandir = @mandir@
man1dir = $(mandir)/man1 man1dir = $(mandir)/man1
man7dir = $(mandir)/man7
# Dir for temp files. # Dir for temp files.
tmpdir = /tmp tmpdir = /tmp
...@@ -2308,7 +2310,7 @@ docdir = $(srcdir)/doc ...@@ -2308,7 +2310,7 @@ docdir = $(srcdir)/doc
doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
info: $(docdir)/cpp.info $(docdir)/gcc.info lang.info $(docdir)/cppinternals.info info: $(docdir)/cpp.info $(docdir)/gcc.info lang.info $(docdir)/cppinternals.info
$(docdir)/cpp.info: $(docdir)/cpp.texi $(docdir)/cpp.info: $(docdir)/cpp.texi $(docdir)/include/fdl.texi
cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/cpp.info doc/cpp.texi cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -I doc -I doc/include -o doc/cpp.info doc/cpp.texi
$(docdir)/gcc.info: $(docdir)/gcc.texi $(docdir)/extend.texi \ $(docdir)/gcc.info: $(docdir)/gcc.texi $(docdir)/extend.texi \
...@@ -2333,7 +2335,7 @@ $(docdir)/cppinternals.info: $(docdir)/cppinternals.texi ...@@ -2333,7 +2335,7 @@ $(docdir)/cppinternals.info: $(docdir)/cppinternals.texi
dvi: gcc.dvi cpp.dvi lang.dvi cppinternals.dvi dvi: gcc.dvi cpp.dvi lang.dvi cppinternals.dvi
# This works with GNU Make's default rule. # This works with GNU Make's default rule.
cpp.dvi: $(docdir)/cpp.texi cpp.dvi: $(docdir)/cpp.texi $(docdir)/include/fdl.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cpp.texi $(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cpp.texi
gcc.dvi: $(docdir)/gcc.texi $(docdir)/extend.texi $(docdir)/install-old.texi \ gcc.dvi: $(docdir)/gcc.texi $(docdir)/extend.texi $(docdir)/install-old.texi \
...@@ -2354,12 +2356,13 @@ gcc.dvi: $(docdir)/gcc.texi $(docdir)/extend.texi $(docdir)/install-old.texi \ ...@@ -2354,12 +2356,13 @@ gcc.dvi: $(docdir)/gcc.texi $(docdir)/extend.texi $(docdir)/install-old.texi \
cppinternals.dvi: $(docdir)/cppinternals.texi cppinternals.dvi: $(docdir)/cppinternals.texi
$(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cppinternals.texi $(TEXI2DVI) -I $(docdir) -I $(docdir)/include $(docdir)/cppinternals.texi
generated-manpages: $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1 generated-manpages: $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1 \
$(docdir)/gfdl.7 $(docdir)/gpl.7 $(docdir)/fsf-funding.7
$(docdir)/gcov.1: $(docdir)/gcov.texi $(docdir)/gcov.1: $(docdir)/gcov.texi
$(STAMP) $(docdir)/gcov.1 $(STAMP) $(docdir)/gcov.1
-$(TEXI2POD) < $(docdir)/gcov.texi > gcov.pod -$(TEXI2POD) < $(docdir)/gcov.texi > gcov.pod
-($(POD2MAN) gcov.pod > $(docdir)/gcov.1.T$$$$ && \ -($(POD2MAN) --section=1 gcov.pod > $(docdir)/gcov.1.T$$$$ && \
mv -f $(docdir)/gcov.1.T$$$$ $(docdir)/gcov.1) || \ mv -f $(docdir)/gcov.1.T$$$$ $(docdir)/gcov.1) || \
(rm -f $(docdir)/gcov.1.T$$$$ && exit 1) (rm -f $(docdir)/gcov.1.T$$$$ && exit 1)
-rm -f gcov.pod -rm -f gcov.pod
...@@ -2367,7 +2370,7 @@ $(docdir)/gcov.1: $(docdir)/gcov.texi ...@@ -2367,7 +2370,7 @@ $(docdir)/gcov.1: $(docdir)/gcov.texi
$(docdir)/cpp.1: $(docdir)/cpp.texi $(docdir)/cpp.1: $(docdir)/cpp.texi
$(STAMP) $(docdir)/cpp.1 $(STAMP) $(docdir)/cpp.1
-$(TEXI2POD) < $(docdir)/cpp.texi > cpp.pod -$(TEXI2POD) < $(docdir)/cpp.texi > cpp.pod
-($(POD2MAN) cpp.pod > $(docdir)/cpp.1.T$$$$ && \ -($(POD2MAN) --section=1 cpp.pod > $(docdir)/cpp.1.T$$$$ && \
mv -f $(docdir)/cpp.1.T$$$$ $(docdir)/cpp.1) || \ mv -f $(docdir)/cpp.1.T$$$$ $(docdir)/cpp.1) || \
(rm -f $(docdir)/cpp.1.T$$$$ && exit 1) (rm -f $(docdir)/cpp.1.T$$$$ && exit 1)
-rm -f cpp.pod -rm -f cpp.pod
...@@ -2375,11 +2378,36 @@ $(docdir)/cpp.1: $(docdir)/cpp.texi ...@@ -2375,11 +2378,36 @@ $(docdir)/cpp.1: $(docdir)/cpp.texi
$(docdir)/gcc.1: $(docdir)/invoke.texi $(docdir)/gcc.1: $(docdir)/invoke.texi
$(STAMP) $(docdir)/gcc.1 $(STAMP) $(docdir)/gcc.1
-$(TEXI2POD) < $(docdir)/invoke.texi > gcc.pod -$(TEXI2POD) < $(docdir)/invoke.texi > gcc.pod
-($(POD2MAN) gcc.pod > $(docdir)/gcc.1.T$$$$ && \ -($(POD2MAN) --section=1 gcc.pod > $(docdir)/gcc.1.T$$$$ && \
mv -f $(docdir)/gcc.1.T$$$$ $(docdir)/gcc.1) || \ mv -f $(docdir)/gcc.1.T$$$$ $(docdir)/gcc.1) || \
(rm -f $(docdir)/gcc.1.T$$$$ && exit 1) (rm -f $(docdir)/gcc.1.T$$$$ && exit 1)
-rm -f gcc.pod -rm -f gcc.pod
$(docdir)/gfdl.7: $(docdir)/include/fdl.texi
$(STAMP) $(docdir)/gfdl.7
-$(TEXI2POD) < $(docdir)/include/fdl.texi > gfdl.pod
-($(POD2MAN) --section=7 gfdl.pod > $(docdir)/gfdl.7.T$$$$ && \
mv -f $(docdir)/gfdl.7.T$$$$ $(docdir)/gfdl.7) || \
(rm -f $(docdir)/gfdl.7.T$$$$ && exit 1)
-rm -f gfdl.pod
$(docdir)/gpl.7: $(docdir)/include/gpl.texi
$(STAMP) $(docdir)/gpl.7
-$(TEXI2POD) < $(docdir)/include/gpl.texi > gpl.pod
-($(POD2MAN) --section=7 gpl.pod > $(docdir)/gpl.7.T$$$$ && \
mv -f $(docdir)/gpl.7.T$$$$ $(docdir)/gpl.7) || \
(rm -f $(docdir)/gpl.7.T$$$$ && exit 1)
-rm -f gpl.pod
$(docdir)/fsf-funding.7: $(docdir)/include/funding.texi
$(STAMP) $(docdir)/fsf-funding.7
-$(TEXI2POD) < $(docdir)/include/funding.texi > fsf-funding.pod
-($(POD2MAN) --section=7 fsf-funding.pod \
> $(docdir)/fsf-funding.7.T$$$$ && \
mv -f $(docdir)/fsf-funding.7.T$$$$ $(docdir)/fsf-funding.7) || \
(rm -f $(docdir)/fsf-funding.7.T$$$$ && exit 1)
-rm -f fsf-funding.pod
# #
# Deletion of files made during compilation. # Deletion of files made during compilation.
# There are four levels of this: # There are four levels of this:
...@@ -2509,6 +2537,7 @@ maintainer-clean: ...@@ -2509,6 +2537,7 @@ maintainer-clean:
-rm -f $(docdir)/cpp.info* $(docdir)/gcc.info* -rm -f $(docdir)/cpp.info* $(docdir)/gcc.info*
-rm -f $(docdir)/cppinternals.info* -rm -f $(docdir)/cppinternals.info*
-rm -f $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1 -rm -f $(docdir)/gcov.1 $(docdir)/cpp.1 $(docdir)/gcc.1
-rm -f $(docdir)/fsf-funding.7 $(docdir)/gfdl.7 $(docdir)/gpl.7
# #
# Entry points `install' and `uninstall'. # Entry points `install' and `uninstall'.
# Also use `install-collect2' to install collect2 when the config files don't. # Also use `install-collect2' to install collect2 when the config files don't.
...@@ -2596,6 +2625,7 @@ installdirs: ...@@ -2596,6 +2625,7 @@ installdirs:
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; chmod a+rx $$parent ; fi if [ -d $$parent ] ; then true ; else mkdir $$parent ; chmod a+rx $$parent ; fi
-if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; chmod a+rx $(man1dir) ; fi -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; chmod a+rx $(man1dir) ; fi
-if [ -d $(man7dir) ] ; then true ; else mkdir $(man7dir) ; chmod a+rx $(man7dir) ; fi
# Install the compiler executables built during cross compilation. # Install the compiler executables built during cross compilation.
install-common: native $(EXTRA_PARTS) lang.install-common install-common: native $(EXTRA_PARTS) lang.install-common
...@@ -2701,20 +2731,29 @@ install-info: doc installdirs lang.install-info ...@@ -2701,20 +2731,29 @@ install-info: doc installdirs lang.install-info
# Install the man pages. # Install the man pages.
install-man: installdirs $(GENERATED_MANPAGES) lang.install-man install-man: installdirs $(GENERATED_MANPAGES) lang.install-man
-if [ -f gcc-cross$(exeext) ] ; then \ -if [ -f gcc-cross$(exeext) ] ; then \
rm -f $(man1dir)/$(GCC_CROSS_NAME)$(manext); \ rm -f $(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
$(INSTALL_DATA) $(docdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(manext); \ $(INSTALL_DATA) $(docdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(GCC_CROSS_NAME)$(manext); \ chmod a-x $(man1dir)/$(GCC_CROSS_NAME)$(man1ext); \
else \ else \
rm -f $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \ rm -f $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
$(INSTALL_DATA) $(docdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \ $(INSTALL_DATA) $(docdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \ chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext); \
fi fi
-rm -f $(man1dir)/cpp$(manext) -rm -f $(man1dir)/cpp$(man1ext)
-$(INSTALL_DATA) $(docdir)/cpp.1 $(man1dir)/cpp$(manext) -$(INSTALL_DATA) $(docdir)/cpp.1 $(man1dir)/cpp$(man1ext)
-chmod a-x $(man1dir)/cpp$(manext) -chmod a-x $(man1dir)/cpp$(man1ext)
-rm -f $(man1dir)/gcov$(manext) -rm -f $(man1dir)/gcov$(man1ext)
-$(INSTALL_DATA) $(docdir)/gcov.1 $(man1dir)/gcov$(manext) -$(INSTALL_DATA) $(docdir)/gcov.1 $(man1dir)/gcov$(man1ext)
-chmod a-x $(man1dir)/gcov$(manext) -chmod a-x $(man1dir)/gcov$(man1ext)
-rm -f $(man7dir)/fsf-funding$(man7ext)
-$(INSTALL_DATA) $(docdir)/fsf-funding.7 $(man7dir)/fsf-funding$(man7ext)
-chmod a-x $(man7dir)/fsf-funding$(man7ext)
-rm -f $(man7dir)/gfdl$(man7ext)
-$(INSTALL_DATA) $(docdir)/gfdl.7 $(man7dir)/gfdl$(man7ext)
-chmod a-x $(man7dir)/gfdl$(man7ext)
-rm -f $(man7dir)/gpl$(man7ext)
-$(INSTALL_DATA) $(docdir)/gpl.7 $(man7dir)/gpl$(man7ext)
-chmod a-x $(man7dir)/gpl$(man7ext)
# Install the library. # Install the library.
install-libgcc: libgcc.mk libgcc.a installdirs install-libgcc: libgcc.mk libgcc.a installdirs
...@@ -2825,11 +2864,11 @@ uninstall: intl.uninstall lang.uninstall $(UNINSTALL_CPP) ...@@ -2825,11 +2864,11 @@ uninstall: intl.uninstall lang.uninstall $(UNINSTALL_CPP)
-rm -rf $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext) -rm -rf $(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext)
-rm -rf $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext) -rm -rf $(bindir)/$(UNPROTOIZE_CROSS_NAME)$(exeext)
-rm -rf $(bindir)/$(GCOV_INSTALL_NAME)$(exeext) -rm -rf $(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
-rm -rf $(man1dir)/$(GCC_INSTALL_NAME)$(manext) -rm -rf $(man1dir)/$(GCC_INSTALL_NAME)$(man1ext)
-rm -rf $(man1dir)/$(GCC_CROSS_NAME)$(manext) -rm -rf $(man1dir)/$(GCC_CROSS_NAME)$(man1ext)
-rm -rf $(man1dir)/cpp$(manext) -rm -rf $(man1dir)/cpp$(man1ext)
-rm -rf $(man1dir)/protoize$(manext) -rm -rf $(man1dir)/protoize$(man1ext)
-rm -rf $(man1dir)/unprotoize$(manext) -rm -rf $(man1dir)/unprotoize$(man1ext)
-rm -f $(infodir)/cpp.info* $(infodir)/gcc.info* -rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
-rm -f $(infodir)/cppinternals.info* -rm -f $(infodir)/cppinternals.info*
# #
......
2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
2001-11-13 Nathan Sidwell <nathan@codesourcery.com> 2001-11-13 Nathan Sidwell <nathan@codesourcery.com>
PR g++/4206 PR g++/4206
......
...@@ -187,13 +187,13 @@ c++.install-info: ...@@ -187,13 +187,13 @@ c++.install-info:
c++.install-man: installdirs $(srcdir)/cp/g++.1 c++.install-man: installdirs $(srcdir)/cp/g++.1
-if [ -f cc1plus$(exeext) ] ; then \ -if [ -f cc1plus$(exeext) ] ; then \
if [ -f g++-cross$(exeext) ] ; then \ if [ -f g++-cross$(exeext) ] ; then \
rm -f $(man1dir)/$(GXX_CROSS_NAME)$(manext); \ rm -f $(man1dir)/$(GXX_CROSS_NAME)$(man1ext); \
$(INSTALL_DATA) $(srcdir)/cp/g++.1 $(man1dir)/$(GXX_CROSS_NAME)$(manext); \ $(INSTALL_DATA) $(srcdir)/cp/g++.1 $(man1dir)/$(GXX_CROSS_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(GXX_CROSS_NAME)$(manext); \ chmod a-x $(man1dir)/$(GXX_CROSS_NAME)$(man1ext); \
else \ else \
rm -f $(man1dir)/$(GXX_INSTALL_NAME)$(manext); \ rm -f $(man1dir)/$(GXX_INSTALL_NAME)$(man1ext); \
$(INSTALL_DATA) $(srcdir)/cp/g++.1 $(man1dir)/$(GXX_INSTALL_NAME)$(manext); \ $(INSTALL_DATA) $(srcdir)/cp/g++.1 $(man1dir)/$(GXX_INSTALL_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(GXX_INSTALL_NAME)$(manext); \ chmod a-x $(man1dir)/$(GXX_INSTALL_NAME)$(man1ext); \
fi; \ fi; \
else true; fi else true; fi
...@@ -204,8 +204,8 @@ c++.uninstall: ...@@ -204,8 +204,8 @@ c++.uninstall:
-rm -rf $(bindir)/$(GXX_CROSS_NAME)$(exeext) -rm -rf $(bindir)/$(GXX_CROSS_NAME)$(exeext)
-rm -rf $(bindir)/$(DEMANGLER_INSTALL_NAME)$(exeext) -rm -rf $(bindir)/$(DEMANGLER_INSTALL_NAME)$(exeext)
-rm -rf $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext) -rm -rf $(bindir)/$(DEMANGLER_CROSS_NAME)$(exeext)
-rm -rf $(man1dir)/$(GXX_INSTALL_NAME)$(manext) -rm -rf $(man1dir)/$(GXX_INSTALL_NAME)$(man1ext)
-rm -rf $(man1dir)/$(GXX_CROSS_NAME)$(manext) -rm -rf $(man1dir)/$(GXX_CROSS_NAME)$(man1ext)
# #
# Clean hooks: # Clean hooks:
# A lot of the ancillary files are deleted by the main makefile. # A lot of the ancillary files are deleted by the main makefile.
......
...@@ -4,3 +4,6 @@ cppinternals.info* ...@@ -4,3 +4,6 @@ cppinternals.info*
gcc.1 gcc.1
cpp.1 cpp.1
gcov.1 gcov.1
gfdl.7
gpl.7
fsf-funding.7
...@@ -15,22 +15,18 @@ Free Software Foundation, Inc. ...@@ -15,22 +15,18 @@ Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation. A copy of any later version published by the Free Software Foundation. A copy of
the license is included in the accompanying manual for GCC, in the the license is included in the
section ``GNU Free Documentation License''.
@c man end @c man end
@end macro section entitled ``GNU Free Documentation License''.
@c The manpage doesn't have Front-Cover and Back-Cover Texts, but the
@c complete manual does. -zw
@ignore @ignore
@c man begin COPYRIGHT @c man begin COPYRIGHT
This manual contains no Invariant Sections, and has no Front-Cover Texts man page gfdl(7).
or Back-Cover Texts.
@c man end @c man end
@end ignore @end ignore
@end macro
@macro covertexts @macro covertexts
@c man begin COPYRIGHT
This manual contains no Invariant Sections. The Front-Cover Texts are This manual contains no Invariant Sections. The Front-Cover Texts are
(a) (see below), and the Back-Cover Texts are (b) (see below). (a) (see below), and the Back-Cover Texts are (b) (see below).
...@@ -43,6 +39,7 @@ This manual contains no Invariant Sections. The Front-Cover Texts are ...@@ -43,6 +39,7 @@ This manual contains no Invariant Sections. The Front-Cover Texts are
You have freedom to copy and modify this GNU Manual, like GNU You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise software. Copies published by the Free Software Foundation raise
funds for GNU development. funds for GNU development.
@c man end
@end macro @end macro
@macro gcctabopt{body} @macro gcctabopt{body}
...@@ -92,6 +89,7 @@ useful on its own. ...@@ -92,6 +89,7 @@ useful on its own.
* Traditional Mode:: * Traditional Mode::
* Implementation Details:: * Implementation Details::
* Invocation:: * Invocation::
* GNU Free Documentation License::
* Index of Directives:: * Index of Directives::
* Concept Index:: * Concept Index::
...@@ -3806,6 +3804,7 @@ cpp [@option{-D}@var{macro}[=@var{defn}]@dots{}] [@option{-U}@var{macro}] ...@@ -3806,6 +3804,7 @@ cpp [@option{-D}@var{macro}[=@var{defn}]@dots{}] [@option{-U}@var{macro}]
Only the most useful options are listed here; see below for the remainder. Only the most useful options are listed here; see below for the remainder.
@c man end @c man end
@c man begin SEEALSO @c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7),
gcc(1), as(1), ld(1), and the Info entries for @file{cpp}, @file{gcc}, and gcc(1), as(1), ld(1), and the Info entries for @file{cpp}, @file{gcc}, and
@file{binutils}. @file{binutils}.
@c man end @c man end
...@@ -4280,6 +4279,8 @@ preprocess as normal. With two dashes, exit immediately. ...@@ -4280,6 +4279,8 @@ preprocess as normal. With two dashes, exit immediately.
@end table @end table
@c man end @c man end
@include fdl.texi
@page @page
@node Index of Directives @node Index of Directives
@unnumbered Index of Directives @unnumbered Index of Directives
......
...@@ -6,20 +6,23 @@ ...@@ -6,20 +6,23 @@
@c man begin COPYRIGHT @c man begin COPYRIGHT
Copyright @copyright{} 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc. Copyright @copyright{} 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this Permission is granted to copy, distribute and/or modify this document
manual provided the copyright notice and this permission notice are under the terms of the GNU Free Documentation License, Version 1.1 or
preserved on all copies. any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Permission is granted to copy and distribute modified versions of this Free Software'', the Front-Cover texts being (a) (see below), and with
manual under the conditions for verbatim copying, provided also that the the Back-Cover Texts being (b) (see below). A copy of the license is
entire resulting derived work is distributed under the terms of a included in the gfdl(7) man page.
permission notice identical to this one.
(a) The FSF's Front-Cover Text is:
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions, A GNU Manual
except that this permission notice may be included in translations
approved by the Free Software Foundation instead of in the original (b) The FSF's Back-Cover Text is:
English.
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end @c man end
@c Set file name and title for the man page. @c Set file name and title for the man page.
@setfilename gcov @setfilename gcov
...@@ -120,7 +123,7 @@ gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}] ...@@ -120,7 +123,7 @@ gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}]
[@option{-o}|@option{--object-directory} @var{directory}] @var{sourcefile} [@option{-o}|@option{--object-directory} @var{directory}] @var{sourcefile}
@c man end @c man end
@c man begin SEEALSO @c man begin SEEALSO
gcc(1) and the Info entry for @file{gcc}. gpl(7), gfdl(7), fsf-funding(7), gcc(1) and the Info entry for @file{gcc}.
@c man end @c man end
@end ignore @end ignore
......
@ignore
@c Set file name and title for man page.
@setfilename gfdl
@settitle GNU Free Documentation License
@c man begin SEEALSO
gpl(7), fsf-funding(7).
@c man end
@c man begin COPYRIGHT
Copyright @copyright{} 2000 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@c man end
@end ignore
@node GNU Free Documentation License @node GNU Free Documentation License
@c man begin DESCRIPTION
@unnumbered GNU Free Documentation License @unnumbered GNU Free Documentation License
@cindex FDL, GNU Free Documentation License @cindex FDL, GNU Free Documentation License
...@@ -401,3 +416,4 @@ to permit their use in free software. ...@@ -401,3 +416,4 @@ to permit their use in free software.
@c ispell-local-pdict: "ispell-dict" @c ispell-local-pdict: "ispell-dict"
@c End: @c End:
@c man end
@ignore
@c Set file name and title for man page.
@setfilename fsf-funding
@settitle Funding Free Software
@c man begin SEEALSO
gpl(7), gfdl(7).
@c man end
@end ignore
@node Funding @node Funding
@c man begin DESCRIPTION
@unnumbered Funding Free Software @unnumbered Funding Free Software
If you want to have more free software a few years from now, it makes If you want to have more free software a few years from now, it makes
...@@ -40,9 +49,12 @@ major new features or packages contribute the most. ...@@ -40,9 +49,12 @@ major new features or packages contribute the most.
By establishing the idea that supporting further development is ``the By establishing the idea that supporting further development is ``the
proper thing to do'' when distributing free software for a fee, we can proper thing to do'' when distributing free software for a fee, we can
assure a steady flow of resources into making more free software. assure a steady flow of resources into making more free software.
@c man end
@display @display
Copyright (C) 1994 Free Software Foundation, Inc. @c man begin COPYRIGHT
Copyright @copyright{} 1994 Free Software Foundation, Inc.
Verbatim copying and redistribution of this section is permitted Verbatim copying and redistribution of this section is permitted
without royalty; alteration is not permitted. without royalty; alteration is not permitted.
@c man end
@end display @end display
@ignore
@c Set file name and title for man page.
@setfilename gpl
@settitle GNU General Public License
@c man begin SEEALSO
gfdl(7), fsf-funding(7).
@c man end
@c man begin COPYRIGHT
Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc.
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@c man end
@end ignore
@node Copying @node Copying
@c man begin DESCRIPTION
@unnumbered GNU GENERAL PUBLIC LICENSE @unnumbered GNU GENERAL PUBLIC LICENSE
@center Version 2, June 1991 @center Version 2, June 1991
...@@ -390,3 +406,4 @@ proprietary programs. If your program is a subroutine library, you may ...@@ -390,3 +406,4 @@ proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General library. If this is what you want to do, use the GNU Library General
Public License instead of this License. Public License instead of this License.
@c man end
...@@ -8,20 +8,23 @@ ...@@ -8,20 +8,23 @@
Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001 Free Software Foundation, Inc. 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this Permission is granted to copy, distribute and/or modify this document
manual provided the copyright notice and this permission notice are under the terms of the GNU Free Documentation License, Version 1.1 or
preserved on all copies. any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Permission is granted to copy and distribute modified versions of this Free Software'', the Front-Cover texts being (a) (see below), and with
manual under the conditions for verbatim copying, provided also that the the Back-Cover Texts being (b) (see below). A copy of the license is
entire resulting derived work is distributed under the terms of a included in the gfdl(7) man page.
permission notice identical to this one.
(a) The FSF's Front-Cover Text is:
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions, A GNU Manual
except that this permission notice may be included in translations
approved by the Free Software Foundation instead of in the original (b) The FSF's Back-Cover Text is:
English.
You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
funds for GNU development.
@c man end @c man end
@c Set file name and title for the man page. @c Set file name and title for the man page.
@setfilename gcc @setfilename gcc
...@@ -39,6 +42,7 @@ Only the most useful options are listed here; see below for the ...@@ -39,6 +42,7 @@ Only the most useful options are listed here; see below for the
remainder. @samp{g++} accepts mostly the same options as @samp{gcc}. remainder. @samp{g++} accepts mostly the same options as @samp{gcc}.
@c man end @c man end
@c man begin SEEALSO @c man begin SEEALSO
gpl(7), gfdl(7), fsf-funding(7),
cpp(1), gcov(1), g77(1), as(1), ld(1), gdb(1), adb(1), dbx(1), sdb(1) cpp(1), gcov(1), g77(1), as(1), ld(1), gdb(1), adb(1), dbx(1), sdb(1)
and the Info entries for @file{gcc}, @file{cpp}, @file{g77}, @file{as}, and the Info entries for @file{gcc}, @file{cpp}, @file{g77}, @file{as},
@file{ld}, @file{binutils} and @file{gdb}. @file{ld}, @file{binutils} and @file{gdb}.
......
2001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
2001-11-14 Toon Moene <toon@moene.indiv.nluug.nl> 2001-11-14 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.1: Remove from CVS. * g77.1: Remove from CVS.
......
...@@ -345,13 +345,13 @@ f77.install-man: $(srcdir)/f/g77.1 installdirs ...@@ -345,13 +345,13 @@ f77.install-man: $(srcdir)/f/g77.1 installdirs
esac esac
-if [ -f $(libsubdir)/lang-f77.man -a -f f771$(exeext) ] ; then \ -if [ -f $(libsubdir)/lang-f77.man -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \
rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \ rm -f $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
$(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_CROSS_NAME)$(manext); \ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(G77_CROSS_NAME)$(manext); \ chmod a-x $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
else \ else \
rm -f $(man1dir)/$(G77_INSTALL_NAME)$(manext); \ rm -f $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
$(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_INSTALL_NAME)$(manext); \ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
chmod a-x $(man1dir)/$(G77_INSTALL_NAME)$(manext); \ chmod a-x $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
fi; \ fi; \
else true; fi else true; fi
rm -f $(libsubdir)/lang-f77.man rm -f $(libsubdir)/lang-f77.man
...@@ -372,8 +372,8 @@ f77.uninstall: installdirs ...@@ -372,8 +372,8 @@ f77.uninstall: installdirs
-if [ -f $(libsubdir)/lang-f77.un ]; then \ -if [ -f $(libsubdir)/lang-f77.un ]; then \
rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \ rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \ rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \
rm -rf $(man1dir)/$(G77_INSTALL_NAME)$(manext); \ rm -rf $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \
rm -rf $(man1dir)/$(G77_CROSS_NAME)$(manext); \ rm -rf $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \
rm -rf $(infodir)/g77.info*; \ rm -rf $(infodir)/g77.info*; \
fi fi
rm -f $(libsubdir)/lang-f77.un rm -f $(libsubdir)/lang-f77.un
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment