Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: "Joseph S. Myers" <joseph@codesourcery.com>,
	gcc-patches@gcc.gnu.org, 	binutils@sourceware.org,
	gdb@sourceware.org
Subject: install-{html,pdf} (was: Moving to Autoconf 2.64, Automake 1.11)
Date: Sun, 16 Aug 2009 11:48:00 -0000	[thread overview]
Message-ID: <20090816114837.GA20429@gmx.de> (raw)
In-Reply-To: <20090815160654.GC21850@gmx.de>

* Ralf Wildenhues wrote on Sat, Aug 15, 2009 at 06:06:54PM CEST:
> * Joseph S. Myers wrote on Sat, Aug 15, 2009 at 05:31:44PM CEST:
> > On Sat, 15 Aug 2009, Ralf Wildenhues wrote:
> 
> > > The texinfo changes have been tested with 'make info pdf html'.
> > 
> > There should be a "make install-pdf install-html" test (for both gcc and 
> > GDB/Binutils) as well.
> 
> I think I tried that when changing the relevant rules, but I will test
> again before committing.

Gah, I did overlook libgomp, which indeed had a bug, and I didn't search
for unneeded Makefile.am bits that can just be deleted now.  Incremental
patch below, against GCC; intended to be squashed into [PATCH 5/N].
binutils/gdb seems ok.

I noted that files are installed a bit inconsistently:

GCC:

  ${docdir}/libgomp.pdf
  ${docdir}/classpath/cp-tools.pdf
  ${docdir}/gcc/gnat-style.pdf
  ${docdir}/gcc/gccinstall.pdf
  ${docdir}/gcc/cpp.pdf
  ${docdir}/gcc/cppinternals.pdf
  ${docdir}/gcc/gccint.pdf
  ${docdir}/gcc/gnat_ugn.pdf
  ${docdir}/gcc/gcc.pdf
  ${docdir}/gcc/gfortran.pdf
  ${docdir}/gcc/gnat_rm.pdf
  ${docdir}/gcj.pdf
  ${docdir}/libiberty.pdf

and HTML files as this, or below these directories:

  ${docdir}/gccint/
  ${docdir}/cpp/
  ${docdir}/classpath/cp-tools.html/
  ${docdir}/gccinstall/
  ${docdir}/libgomp.html/
  ${docdir}/libiberty.html
  ${docdir}/gcc/
  ${docdir}/cppinternals/

Here, the location for at least gcj.pdf seems inconsistent
(but that issue existed before my patch series already).

For src:

  ${docdir}/bfd.pdf
  ${docdir}/gdbint.pdf
  ${docdir}/binutils.pdf
  ${docdir}/gprof.pdf
  ${docdir}/ld.pdf
  ${docdir}/etc/standards.pdf
  ${docdir}/etc/configure.pdf
  ${docdir}/as.pdf
  ${docdir}/stabs.pdf
  ${docdir}/refcard.pdf
  ${docdir}/annotate.pdf
  ${docdir}/gdb.pdf
  ${docdir}/libiberty.pdf

  ${docdir}/binutils.html/
  ${docdir}/ld.html/
  ${docdir}/standards.html
  ${docdir}/bfd.html/
  ${docdir}/annotate/
  ${docdir}/gdb/
  ${docdir}/as.html/
  ${docdir}/gdbint/
  ${docdir}/libiberty.html
  ${docdir}/configure.html
  ${docdir}/stabs/
  ${docdir}/gprof.html/

At least the location of GDB's obsolete annotations and its refcard seem
weird, maybe also stabs (they all have rather generic names for not
being placed in a subdirectory), as does the fact that some directories
are named with ".html" in their name but not all.  etc/*.pdf seems
weird, too, and that the html equivalents are in a different directory.
All of these issues are independent of my patch series (the install tree
looks exactly the same before and after).

Comments as to the desired structure?

Thanks,
Ralf

libjava/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

libssp/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

libstdc++-v3/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

boehm-gc/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

libmudflap/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

zlib/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf, html): Remove.
	* Makefile.in: Regenerate.

libffi/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

libgomp/ChangeLog:
2009-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.am (install-html, install-pdf): Remove.
	* Makefile.in: Regenerate.

diff --git a/boehm-gc/Makefile.am b/boehm-gc/Makefile.am
index 83005b2..8438911 100644
--- a/boehm-gc/Makefile.am
+++ b/boehm-gc/Makefile.am
@@ -115,9 +115,3 @@ AM_MAKEFLAGS = \
 CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
 
 MAKEOVERRIDES=
-
-# No install-html or install-pdf support in automake yet
-.PHONY: install-html install-pdf
-install-html:
-install-pdf:
-
diff --git a/libffi/Makefile.am b/libffi/Makefile.am
index 9705c8f..74d45d4 100644
--- a/libffi/Makefile.am
+++ b/libffi/Makefile.am
@@ -169,11 +169,6 @@ libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LT
 AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src
 AM_CCASFLAGS = $(AM_CPPFLAGS)
 
-# No install-html or install-pdf support in automake yet
-.PHONY: install-html install-pdf
-install-html:
-install-pdf:
-
 # Multilib support.  Automake should provide these on its own.
 all-recursive: all-multi
 install-recursive: install-multi
diff --git a/libgomp/Makefile.am b/libgomp/Makefile.am
index 6cecc2a..83942f7 100644
--- a/libgomp/Makefile.am
+++ b/libgomp/Makefile.am
@@ -56,20 +56,6 @@ env.lo: libgomp_f.h
 env.o: libgomp_f.h
 
 
-# No install-html or install-pdf support in automake yet
-.PHONY: install-html install-pdf
-install-html:
-
-install-pdf: $(PDFS)
-	@$(NORMAL_INSTALL)
-	test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
-	@list='$(PDFS)'; for p in $$list; do \
-	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  f=$(am__strip_dir) \
-	  echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
-	  $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
-	done
-
 # Automake Documentation:
 # If your package has Texinfo files in many directories, you can use the
 # variable TEXINFO_TEX to tell Automake where to find the canonical
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index 7c7e0db..d4b45d7 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -1326,11 +1326,6 @@ CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host
 
 MAKEOVERRIDES=
 
-# No install-html or install-pdf support in automake yet
-.PHONY: install-html install-pdf
-install-html:
-install-pdf:
-
 # Multilib support variables.
 MULTISRCTOP =
 MULTIBUILDTOP =
diff --git a/libmudflap/Makefile.am b/libmudflap/Makefile.am
index d326d88..29091de 100644
--- a/libmudflap/Makefile.am
+++ b/libmudflap/Makefile.am
@@ -94,10 +94,5 @@ AM_MAKEFLAGS = \
 
 MAKEOVERRIDES=
 
-# No install-html or install-pdf support in automake yet
-.PHONY: install-html install-pdf
-install-html:
-install-pdf:
-
 ## ################################################################
 
diff --git a/libssp/Makefile.am b/libssp/Makefile.am
index 6a8b4c8..7a350f4 100644
--- a/libssp/Makefile.am
+++ b/libssp/Makefile.am
@@ -90,10 +90,5 @@ AM_MAKEFLAGS = \
 
 MAKEOVERRIDES=
 
-# No install-html or install-pdf support in automake yet
-.PHONY: install-html install-pdf
-install-html:
-install-pdf:
-
 ## ################################################################
 
diff --git a/libstdc++-v3/Makefile.am b/libstdc++-v3/Makefile.am
index 1f8d315..c7a22aa 100644
--- a/libstdc++-v3/Makefile.am
+++ b/libstdc++-v3/Makefile.am
@@ -89,7 +89,3 @@ AM_MAKEFLAGS = \
 
 # Subdir rules rely on $(FLAGS_TO_PASS)
 FLAGS_TO_PASS = $(AM_MAKEFLAGS)
-
-.PHONY: install-html install-pdf
-install-html:
-install-pdf:
diff --git a/zlib/Makefile.am b/zlib/Makefile.am
index 749a13c..55418e4 100644
--- a/zlib/Makefile.am
+++ b/zlib/Makefile.am
@@ -58,12 +58,3 @@ AM_MAKEFLAGS = \
 	"PICFLAG=$(PICFLAG)" \
 	"RANLIB=$(RANLIB)" \
 	"DESTDIR=$(DESTDIR)"
-
-# No html support.
-# No install-html or install-pdf support in automake yet
-.PHONY: html install-html install-pdf
-
-html:
-install-html:
-install-pdf:
-


  reply	other threads:[~2009-08-16 11:48 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15 11:29 Moving to Autoconf 2.64, Automake 1.11 Ralf Wildenhues
2009-08-15 11:31 ` [PATCH 1/N] Update automake-provided files in the toplevel Ralf Wildenhues
2009-08-15 11:33 ` [PATCH 3/N] some minor fixes in sim, gold, gdb Ralf Wildenhues
2009-08-17 16:14   ` Tom Tromey
2009-08-17 16:48   ` Ian Lance Taylor
2009-08-15 11:34 ` Moving to Autoconf 2.64, Automake 1.11 Gerald Pfeifer
2009-08-16  9:49   ` Do not point to sources.redhat.com for autotools tarballs (was: Moving to Autoconf 2.64, Automake 1.11) Ralf Wildenhues
2009-08-16 17:06     ` Eli Zaretskii
2009-08-15 11:34 ` [PATCH 4/N] The big bump Ralf Wildenhues
2009-08-15 11:49   ` Richard Guenther
2009-08-15 12:23     ` Ralf Wildenhues
2009-08-15 12:29       ` Ralf Wildenhues
2009-08-15 16:21         ` Paolo Bonzini
2009-08-17 19:39           ` fix 2.64 fopen glitch, disable option checking (was: [PATCH 4/N] The big bump) Ralf Wildenhues
2009-08-17 19:57             ` fix 2.64 fopen glitch, disable option checking Paolo Bonzini
2009-08-15 14:41   ` [PATCH 4/N] The big bump Dave Korn
2009-08-15 16:04     ` Ralf Wildenhues
2009-08-15 16:36       ` Dave Korn
2009-08-15 16:26     ` Joseph S. Myers
2009-08-17 10:20   ` Nick Clifton
2009-08-23 12:30   ` Andreas Schwab
2009-08-15 11:35 ` [PATCH 5/N] post-update cleanups Ralf Wildenhues
2009-08-15 16:58   ` Paolo Bonzini
2009-08-15 15:31 ` Moving to Autoconf 2.64, Automake 1.11 Joseph S. Myers
2009-08-15 16:07   ` Ralf Wildenhues
2009-08-16 11:48     ` Ralf Wildenhues [this message]
2009-08-17 11:14       ` install-{html,pdf} Paolo Bonzini
2009-08-17 10:34         ` install-{html,pdf} Paolo Bonzini
2009-08-15 18:04 ` Moving to Autoconf 2.64, Automake 1.11 Paolo Bonzini
2009-08-15 23:07   ` Ralf Wildenhues
     [not found]   ` <20090815230654.GA22525__27948.5272862532$1250377656$gmane$org@gmx.de>
2009-08-17 15:57     ` Tom Tromey
2009-08-17 18:18       ` Andreas Schwab
     [not found] ` <20090815113449.GE20172__4676.41973305053$1250336143$gmane$org@gmx.de>
2009-08-17 16:17   ` [PATCH 5/N] post-update cleanups Tom Tromey
2009-08-23 10:12 ` Moving to Autoconf 2.64, Automake 1.11 Ralf Wildenhues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090816114837.GA20429@gmx.de \
    --to=ralf.wildenhues@gmx.de \
    --cc=binutils@sourceware.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb@sourceware.org \
    --cc=joseph@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox