unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Patch for guile-readline/Makefile.am
@ 2004-05-02  9:46 Andreas Vögele
  2004-05-02 23:46 ` Kevin Ryde
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Vögele @ 2004-05-02  9:46 UTC (permalink / raw)


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

Here's a patch for guile-readline/Makefile.am that creates the link to 
readline.scm in a portable way. In addition to the patch, the macro 
AC_PROG_LN_S has to be added to guile-readline/configure.in.

There's a section called "When Automake Isn't Enough->Extending 
Automake Rules" in the Automake manual that shows how to create links 
portably.




[-- Attachment #2: Makefile.am.diff --]
[-- Type: application/octet-stream, Size: 493 bytes --]

Index: Makefile.am
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/guile-readline/Makefile.am,v
retrieving revision 1.23
diff -u -r1.23 Makefile.am
--- Makefile.am	9 Feb 2004 01:48:33 -0000	1.23
+++ Makefile.am	2 May 2004 09:36:23 -0000
@@ -61,7 +61,7 @@
 	-rm ice-9/readline.scm
 	-rmdir ice-9
 	mkdir ice-9
-	cd ice-9 && ln -s ../readline.scm
+	cd ice-9 && $(LN_S) ../readline.scm readline.scm
 
 all-local: ice-9/readline.scm
 

[-- Attachment #3: Type: text/plain, Size: 136 bytes --]

_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch for guile-readline/Makefile.am
  2004-05-02  9:46 Patch for guile-readline/Makefile.am Andreas Vögele
@ 2004-05-02 23:46 ` Kevin Ryde
  2004-06-22  5:08   ` Rob Browning
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2004-05-02 23:46 UTC (permalink / raw)


Andreas Vögele <voegelas@gmx.net> writes:
>
> -	cd ice-9 && ln -s ../readline.scm
> +	cd ice-9 && $(LN_S) ../readline.scm readline.scm

Yep, LN_S is the way to go.

Richard Todd also reported that the whole thing is wrong when srcdir
!= builddir.  I think the theory was going to be to make an ice-9
subdir for the thing to live in permanently, to make life easier.  Rob
might even have something ready for that.


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Patch for guile-readline/Makefile.am
  2004-05-02 23:46 ` Kevin Ryde
@ 2004-06-22  5:08   ` Rob Browning
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Browning @ 2004-06-22  5:08 UTC (permalink / raw)
  Cc: bug-guile

Kevin Ryde <user42@zip.com.au> writes:

> Richard Todd also reported that the whole thing is wrong when srcdir
> != builddir.  I think the theory was going to be to make an ice-9
> subdir for the thing to live in permanently, to make life easier.  Rob
> might even have something ready for that.

Yep.  I think it's probably fixed now.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-22  5:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02  9:46 Patch for guile-readline/Makefile.am Andreas Vögele
2004-05-02 23:46 ` Kevin Ryde
2004-06-22  5:08   ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).