Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Elena Zannoni <ezannoni@redhat.com>, Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] doc/Makefile.in install
Date: Mon, 25 Nov 2002 13:32:00 -0000	[thread overview]
Message-ID: <3DE296D7.2030207@redhat.com> (raw)
In-Reply-To: <15838.56337.22520.798218@localhost.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Eli, look ok?
If yes, can it please be pulled into 5.3 branch.

Andrew

[-- Attachment #2: mailbox-message://ac131313@movemail/fsf/gdb/patches#11071868 --]
[-- Type: message/rfc822, Size: 5892 bytes --]

From: Elena Zannoni <ezannoni@redhat.com>
To: gdb-patches@sources.redhat.com
Cc: Andrew Cagney <ac131313@redhat.com>, Jim Blandy <jimb@redhat.com>
Subject: Re: [RFA] doc/Makefile.in install
Date: Fri, 22 Nov 2002 20:38:25 -0500
Message-ID: <15838.56337.22520.798218@localhost.redhat.com>

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  <ezannoni@redhat.com>

	* 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




  reply	other threads:[~2002-11-25 21:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22 12:12 Elena Zannoni
2002-11-22 12:37 ` Jim Blandy
2002-11-22 13:02   ` Elena Zannoni
2002-11-22 14:16   ` Andrew Cagney
2002-11-22 15:58     ` Elena Zannoni
2002-11-22 17:42       ` Elena Zannoni
2002-11-25 13:32         ` Andrew Cagney [this message]
2002-11-25 22:15           ` Eli Zaretskii
2002-11-26 14:45             ` Elena Zannoni

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=3DE296D7.2030207@redhat.com \
    --to=ac131313@redhat.com \
    --cc=eliz@is.elta.co.il \
    --cc=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.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