Wed, 05 Aug 2009 23:34:14 +0800
Make setup.in generic (foomatic)
1 # On most systems, this never needs to change.
2 EXIT_FAILURE=1
3 EXIT_SUCCESS=0
5 # Where to find files containing setup functions?
6 # (no trailing slash)
7 LIBS="libs"
9 # Some programs require root access to look for files or
10 # ultimately install a program. If so, define them here.
11 # SETUP_NEEDSROOT indicates that you must be root to run 'setup'
12 # INSTALL_NEEDSROOT indicates that you must be root to run the
13 # resulting 'install.sh', written by setup.
14 SETUP_NEEDSROOT="no"
15 INSTALL_NEEDSROOT="yes"
17 # Default preferences and other things that can/will be changed by
18 # arguments
19 USE_DIALOG="yes"
20 AUTO_PACKAGE_INSTALL="yes"
21 FORCE="no"
22 SKIP_PACKAGES="no"
23 SKIP_DEPS="no"
24 SKIP_TASKS="no"
26 # Default paths that can/will be changed by arguments
27 # All paths but SYSCONFDIR are relative to PREFIX
28 PREFIX="/usr/local"
29 SYSCONFDIR="/etc"
31 # If you want the installation logged, define the logfile here. If
32 # empty or null, no log will be created.
33 INSTALL_LOG="$(pwd)/setup.log"
35 # Load core functions and begin
36 BEGIN
37 SETUP_INIT "Foomatic" "0.2.5" "<foomatic-devel@foomatic.org>"