head	1.4;
access;
symbols
	release-0-12:1.3.0.2;
locks; strict;
comment	@# @;


1.4
date	2007.06.16.13.10.44;	author shd;	state Exp;
branches;
next	1.3;

1.3
date	2005.12.07.20.15.47;	author shd;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.08.18.43.22;	author shd;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.01.10.14.08;	author shd;	state Exp;
branches;
next	;


desc
@@


1.4
log
@pmr development has moved into a Git repository. Read
http://zakalwe.fi/~shd/foss/Git.instructions.txt
@
text
@#!/bin/sh

prefix=/usr/local

for opt in "$@@" ; do
	case $opt in
	--prefix=*)
		prefix=`echo $opt | sed -n 's/--prefix=\(.*\)/\1/p'`
		;;
	--package-prefix=*)
		packageprefix=`echo $opt | sed -n 's/--package-prefix=\(.*\)/\1/p'`
		;;
	--help)
		echo ""
		echo "Valid options are:"
		echo "--prefix=dir           Install pipemeter to prefix 'dir'"
 		echo "--package-prefix=dest  Pretend to install to the prefix,"
		echo "                       but copy files to 'dest/prefix' on make install"
		exit
		;;
	esac
done

if test ! -z "$packageprefix" ; then
    prefix="$packageprefix/$prefix"
fi

sed -e "s|{PREFIX}|$prefix|g" < Makefile.in > Makefile

echo ""
echo ""
echo ""
echo ""
echo "pmr development has moved into a Git repository. Read"
echo ""
echo "    http://zakalwe.fi/~shd/foss/Git.instructions.txt"
echo ""
echo "This is not the latest version of pmr! Sleeping 5 secs."
echo ""
echo ""
echo ""
sleep 5

echo "Would install pipemeter binary to directory $prefix/bin."
echo ""
echo "Configure succesful."
@


1.3
log
@*** empty log message ***
@
text
@d30 14
@


1.2
log
@*** empty log message ***
@
text
@d15 3
a17 3
		echo "valid options are:"
		echo "--prefix dir           install pipemeter to prefix 'dir'"
 		echo "--package-prefix dest  pretend to install to the prefix,"
@


1.1
log
@*** empty log message ***
@
text
@d13 1
a13 2
	*)
		echo "configure parameter error"
@

