From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31441 invoked by alias); 25 Nov 2002 21:32:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31433 invoked from network); 25 Nov 2002 21:32:11 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 25 Nov 2002 21:32:11 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6C9963E66; Mon, 25 Nov 2002 16:32:07 -0500 (EST) Message-ID: <3DE296D7.2030207@redhat.com> Date: Mon, 25 Nov 2002 13:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni , Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] doc/Makefile.in install References: <15838.36534.883345.847460@localhost.redhat.com> <3DDEACAE.4010607@redhat.com> <15838.50063.626470.203356@localhost.redhat.com> <15838.56337.22520.798218@localhost.redhat.com> Content-Type: multipart/mixed; boundary="------------060700090403000506010803" X-SW-Source: 2002-11/txt/msg00613.txt.bz2 This is a multi-part message in MIME format. --------------060700090403000506010803 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 71 Eli, look ok? If yes, can it please be pulled into 5.3 branch. Andrew --------------060700090403000506010803 Content-Type: message/rfc822; name="mailbox-message://ac131313@movemail/fsf/gdb/patches#11071868" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mailbox-message://ac131313@movemail/fsf/gdb/patches#11071868" Content-length: 5871 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: ac131313@localhost.redhat.com Received: from localhost (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C164A3FE4 for ; Fri, 22 Nov 2002 20:43:35 -0500 (EST) Envelope-to: cagney@gnu.org Delivery-date: Fri, 22 Nov 2002 20:42:53 -0500 Received: from fencepost.gnu.org by localhost with IMAP (fetchmail-5.9.13) for ac131313@localhost (single-drop); Fri, 22 Nov 2002 20:43:35 -0500 (EST) Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18FPJs-000572-00 for cagney@gnu.org; Fri, 22 Nov 2002 20:42:52 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18FPJl-0006nJ-00 for cagney@gnu.org; Fri, 22 Nov 2002 20:42:47 -0500 Received: from sources.redhat.com ([209.249.29.67]) by monty-python.gnu.org with smtp (Exim 4.10) id 18FPJk-0006l5-00 for cagney@gnu.org; Fri, 22 Nov 2002 20:42:44 -0500 Received: (qmail 15173 invoked by alias); 23 Nov 2002 01:42:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Delivered-To: mailing list gdb-patches@sources.redhat.com Received: (qmail 15166 invoked from network); 23 Nov 2002 01:42:42 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Nov 2002 01:42:42 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gAN1IaP29866 for ; Fri, 22 Nov 2002 20:18:36 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAN1ggD23174; Fri, 22 Nov 2002 20:42:42 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAN1gew11175; Fri, 22 Nov 2002 20:42:41 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id 749A5FF79; Fri, 22 Nov 2002 20:38:25 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15838.56337.22520.798218@localhost.redhat.com> Date: Fri, 22 Nov 2002 20:38:25 -0500 To: gdb-patches@sources.redhat.com Cc: Andrew Cagney , Jim Blandy Subject: Re: [RFA] doc/Makefile.in install In-Reply-To: <15838.50063.626470.203356@localhost.redhat.com> References: <15838.36534.883345.847460@localhost.redhat.com> <3DDEACAE.4010607@redhat.com> <15838.50063.626470.203356@localhost.redhat.com> X-Spam-Status: No, hits=-4.7 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01 version=2.41 X-Spam-Level: Content-length: 2582 Elena Zannoni writes: > Andrew Cagney writes: > > > > > I think, at some point in the distant past, it was controversial > > > whether packages should install their info files by default. I think > > > that was back when disks were much smaller than they are now. > > > Nowadays most packages install their info by default, so there's no > > > reason for GDB not to do so as well. > > > > So that's the reason! I knew there was one but couldn't remember what > > it was. > > > > Elena, also note: > > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=723 > > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=245 > > http://www.gnu.org/prep/standards_55.html#SEC55 > > > > Andrew > > > > Argh. There is way more than what meets the eye. Ok, I'll look into > this a bit more. > Hmmm... how about this? It seems to do the right thing for me. Can somebody give it a try on their system? thanks Elena 2002-11-22 Elena Zannoni * Makefile.in (install-info): Run the install-info command as part of the post install steps only. (uninstall-info): New target. (uninstall): New target. Index: Makefile.in =================================================================== RCS file: /cvs/uberbaum/gdb/doc/Makefile.in,v retrieving revision 1.24 diff -u -p -r1.24 Makefile.in --- Makefile.in 22 Nov 2002 21:02:20 -0000 1.24 +++ Makefile.in 23 Nov 2002 01:39:31 -0000 @@ -156,6 +156,7 @@ install-info: $(INFO_DEPS) else : ; fi; \ done; \ done + $(POST_INSTALL) @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ @@ -164,6 +165,22 @@ install-info: $(INFO_DEPS) done; \ else : ; fi +uninstall-info: + $(PRE_UNINSTALL) + @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ + ii=yes; \ + else ii=; fi; \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + test -z "$$ii" \ + || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ + done + $(NORMAL_UNINSTALL) + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ + done + install-html: html for i in *.html ; do \ $(INSTALL_DATA) $$i $(htmldir)/$$i ; \ @@ -433,3 +450,5 @@ maintainer-clean realclean: distclean rm -f GDBvn.texi *.info* *.dvi *.ps *.html *.pdf install: install-info + +uninstall: uninstall-info --------------060700090403000506010803--