Re: [Brahms-dev-l] scripts

From: Christian Holm Christensen <cholm_at_nbi.dk>
Date: Tue, 28 Aug 2007 02:34:10 +0200
Hi Flemming, 

On Mon, 2007-08-27 at 19:45 -0400, Flemming Videbaek wrote:
> Hi
> I followed up on Christian suggestion to use the autoreconf.
> For each of the package I added a script setup.sh. 

I guess the script is just 

	#!/bin/sh 
	autoreconf
	./configure $@ 

right? If that's the case, why even have it there?  BTW, there's an
option for "autoreconf" which will also re-configure and re-build (it's
`-m' or `--make').  Note, that this will use the previous options you
passed to `configure' which presumably are correct, and you don't have
to think about it again. 

> You will probably only use this after significant updates of brat.
> usage
> ./setup.sh <config options>
> e.g. ./setup.sh --prefix=$HOME
>  
> this replaces the older ./autogen which is still available.

My suggestion would be to remove the `setup.sh', and put the lines below
into `autogen': 

	#!/bin/sh 
	cat << EOF
	===============================================
	Warning Warning Warning Warning Warning Warning

	Use of this script (autogen) is deprecated.  
	Please consider using autoreconf instead.  This
 	script will soon disappear (in about 3 years 
	time or maybe longer :-)
	===============================================
	EOF
	autoreconf
	./configure $@

The point of the warning _is_ to be obnoxious, so that people will stop
using the script (eventually :-)

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
 | |

_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l_at_lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Mon Aug 27 2007 - 20:35:14 EDT

This archive was generated by hypermail 2.2.0 : Mon Aug 27 2007 - 20:35:42 EDT