[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] nmh-1.3-RC1: restoring build functionality lost since

From: Oliver Kiddle
Subject: Re: [Nmh-workers] nmh-1.3-RC1: restoring build functionality lost since nmh-1.0.4
Date: Fri, 09 May 2008 18:24:18 +0200

Peter Maydell wrote:
> Something like:
>  tar xvzf nmh-1.3RC2.tar.gz
>  mkdir builddir
>  cd builddir
>  ../nmh-1.3RC2/configure
>  make
> ie you just run configure from whatever directory you want to build in.

Thanks. Given that, I think the correct patch is the one below. I've
made the change for lex. Hopefully that doesn't break on any other
system. Interestingly, Solaris 10's make appears to be able to insert the
correct source directory automatically, presumably taking it from VPATH.


Index: sbr/Makefile.in
RCS file: /sources/nmh/nmh/sbr/Makefile.in,v
retrieving revision 1.25
diff -u -r1.25 Makefile.in
--- sbr/Makefile.in     4 May 2008 16:09:09 -0000       1.25
+++ sbr/Makefile.in     9 May 2008 16:17:08 -0000
@@ -104,13 +104,13 @@
 # Note that some lexes (for example flex 2.5.4) require that there
 # be no space between -o and the output filename.
 dtimep.c: dtimep.lex
-       $(LEX) -o$@ $<
+       $(LEX) -n -t $(srcdir)/dtimep.lex > dtimep.c
 client.o: client.c
-       $(COMPILE2) $<
+       $(COMPILE2) $(srcdir)/client.c
 mts.o: mts.c
-       $(COMPILE2) $<
+       $(COMPILE2) $(srcdir)/mts.c
 pidstatus.o: sigmsg.h

reply via email to

[Prev in Thread] Current Thread [Next in Thread]