🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #224951

Re: slrn 0.9.9 released

#224951
From: Peter J Ross
Date: Wed, 20 Aug 2008 20:20
76 lines
3660 bytes
In news.software.readers on Wed, 20 Aug 2008 19:17:53 +0000 (UTC),
Michael Grimm <trashcan@odo.in-berlin.de> wrote:

> Christian Ebert <blacktrash@gmx.net> wrote:
>> * Michael Grimm on Wednesday, August 20, 2008:
>>> Christian Ebert <blacktrash@gmx.net> wrote:
>>>> * Christian Ebert on Tuesday, August 19, 2008:
>
>>>> 
>>>> Or you can just do:
>>>> 
>>>> $ cd src/ && sudo make install
>>> 
>>> According to some proposals found 'google-ing' a ...  
>>> 
>>> .PHONY: install 
>>> 
>>> ... at the top of the Makefile should do the trick as well. But I
>>> haven't tried that.
>
> Just gave it a try, and it worked as described.
>
>> I had suggested renaming INSTALL because I don't know much/anything
>> about Makefile syntax.
>
> I'm not very knowledgable either. But I tested the following, and it
> worked for me: 
>
> #v+
> --- autoconf/Makefile.in.old	2008-02-11 19:04:23.000000000 +0100
> +++ autoconf/Makefile.in	2008-08-20 21:05:34.000000000 +0200
> @@ -4,6 +4,8 @@
>  
>  @SET_MAKE@
>  
> +.PHONY: install
> +
>  all:
>  	cd src; $(MAKE) all
>  uudecode:
> #v-
>
> It's OSX and a GNU Make 3.81. I don't know if that will break 'make
> install' at any other platform, though.

It doesn't. However, surely renaming the file is more logical?

#v+

--- autoconf/Makefile.in        (revision 294)
+++ autoconf/Makefile.in        (working copy)
@@ -20,8 +20,7 @@
        /bin/rm -f *~ Makefile config.status config.log config.cache files.pck
 #
 install:
-       cd src; $(MAKE) install
-#
+       if [ -f INSTALL ] ; then mv -f INSTALL INSTALL.txt ; fi ; cd src ; $(MAKE) install

 # The symlinks target is for my own private use.  It simply creates the object
 # directory as a symbolic link to a local disk instead of an NFS mounted one.

#v-

Anybody whose eyes are glazing over at the sight of all these diffs can simply
rename "INSTALL" to "INSTALL.txt" instead.

Looking at the other source code I use, I see that PCRE, Leafnode-2 and INN
have a top-level "INSTALL" file too.


-- 
PJR :-)

<http://pjr.lasnobberia.net/usenet/>
<http://slrn-doc.sourceforge.net/>
Technical Details
Message-ID: <slrngaov57.acp.pjr@pjr.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail
References: <slrngahgq9.c7f.jed@aluche.mit.edu> <g8fbdk$a37$1@odo.in-berlin.de> <20080819231026.732.slrn@krille.blacktrash.org> <20080819231859.439.slrn@krille.blacktrash.org> <g8ggj0$2k1f$1@odo.in-berlin.de> <20080820100458.467.slrn@krille.blacktrash.org> <g8hql1$fcj$2@odo.in-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrngaov57.acp.pjr@pjr.motzarella.org>
Subject: Re: slrn 0.9.9 released
Date: Wed, 20 Aug 2008 21:20:55 +0100
From: Peter J Ross <pjr@example.invalid>
References: <slrngahgq9.c7f.jed@aluche.mit.edu> <g8fbdk$a37$1@odo.in-berlin.de> <20080819231026.732.slrn@krille.blacktrash.org> <20080819231859.439.slrn@krille.blacktrash.org> <g8ggj0$2k1f$1@odo.in-berlin.de> <20080820100458.467.slrn@krille.blacktrash.org> <g8hql1$fcj$2@odo.in-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 76
Reply-To: Peter J Ross <peadar.ruadh@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX1+MbnoA1K6XKvy3nskkJJjJfTYEsmUtOxpfRJOmFWmUTSMMDcG+LaWkWWQIB+8hEkf+Rt1q5sUjkouMbLprw2JxOdK2rvWd7SlKsdr4O1/n0H1eI0KZZHNi/fMExeQMDhU=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Wed, 20 Aug 2008 20:23:03 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX18avmSmMPyzTUt3jDqVCUiZ
Cancel-Lock: sha1:2q3A7W9dAhb/Fg4o6e9ETUXtC9Q=
User-Agent: slrn/pre0.9.9p1-2/mm (Linux)