idea of sysconfdir and localestatedir).
* Compiled versions of configure and the makefiles are including in bzr, so
if you didn't use a source tarball, you must start as follows:
* Compiled versions of configure and the makefiles are including in bzr, so
if you didn't use a source tarball, you must start as follows:
+ bash ./prepare
+ ./configure -C
make
* On FreeBSD you must use gmake.
make
* On FreeBSD you must use gmake.
# run if building from a checkout rather than a tarball.
build:
@if test ! -f configure; then \
# run if building from a checkout rather than a tarball.
build:
@if test ! -f configure; then \
- echo ./prepare ${CONFIGURE} ${CONFIGURE_EXTRA};\
- ./prepare ${CONFIGURE} ${CONFIGURE_EXTRA};\
- elif test ! -f config.status; then \
+ echo ./prepare;\
+ ./prepare;\
+ fi
+ @if test ! -f config.status; then \
echo ./configure ${CONFIGURE} ${CONFIGURE_EXTRA};\
./configure ${CONFIGURE} ${CONFIGURE_EXTRA};\
else\
echo ./configure ${CONFIGURE} ${CONFIGURE_EXTRA};\
./configure ${CONFIGURE} ${CONFIGURE_EXTRA};\
else\
#! /bin/bash
#
# This file is part of DisOrder.
#! /bin/bash
#
# This file is part of DisOrder.
-# Copyright (C) 2004, 2005, 2006 Richard Kettlewell
+# Copyright (C) 2004, 2005, 2006, 2008 Richard Kettlewell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
srcdir=$(dirname $0)
here=$(pwd)
cd $srcdir
srcdir=$(dirname $0)
here=$(pwd)
cd $srcdir
autoheader
automake -a || true # for INSTALL
automake --foreign -a
autoheader
automake -a || true # for INSTALL
automake --foreign -a
-cd "$here"
-$srcdir/configure --sysconfdir=/etc --localstatedir=/var "$@"