lw-build-system/skel/config

35 lines
1.6 KiB
Plaintext
Raw Normal View History

2006-12-08 15:51:18 +00:00
# @P@/config
# kate: @KATE_MODELINE@
2007-08-13 19:59:53 +01:00
# vim: syntax=sh:@VIM_MODELINE@
2006-12-08 15:51:18 +00:00
#
2010-04-25 16:42:56 +01:00
# (c)2010, @AUTHOR@, <@EMAIL@>.
2007-10-14 11:31:40 +01:00
# Released under the GNU GPLv3. See file COPYING or
2006-12-08 15:51:18 +00:00
# http://www.gnu.org/copyleft/gpl.html for details.
#
# This file contains options used to build @P@.
2007-09-11 23:06:23 +01:00
# PREFIX is the most important option. Many other paths are derived from it, as follows:
#
# PREFIX | / | /usr | /usr/local | /opt/*
# ------------+-------------------+-------------------+-------------------+-----------------
# BINDIR | /bin | /usr/bin | /usr/local/bin | /opt/*/bin
# SBINDIR | /sbin | /usr/sbin | /usr/local/sbin | /opt/*/sbin
# LIBDIR | /lib | /usr/lib | /usr/local/lib | /opt/*/lib
# INCLUDEDIR | /usr/include | /usr/include | /usr/local/include| /opt/*/include
# CONFIGDIR | /etc | /etc | /usr/local/etc | /etc/opt/*
# VARDIR | /var | /var | /var | /var/opt/*
# SHAREDIR | /usr/share | /usr/share | /usr/local/share | /opt/*/share
# DOCSDIR | /usr/share/doc | /usr/share/doc | /usr/local/share/doc, /opt/*/doc
# WEBDIR | /srv/http | /srv/http | /srv/http | /opt/*/http
#
# Specific notes:
# When installing, all paths are prepended with INSTALL_PREFIX.
# Any parameter can be overridden by setting an environment variable.
# CGIDIR is set to ${WEBDIR}/cgi-bin .
#
2006-12-08 15:51:18 +00:00
[ -z "${PREFIX}" ] && PREFIX="/usr/local"
2007-09-11 23:06:23 +01:00
source "scripts/paths"
# Project-specific variables below.