|
|
|
@ -16,8 +16,9 @@ Fine tuning of the installation directories:
|
|
|
|
|
--bindir=BINDIR user executables [EPREFIX/bin] |
|
|
|
|
--libdir=LIBDIR static library files [PREFIX/lib/$ss_dir] |
|
|
|
|
--sysconfdir=SYSDIR global configuration files [/etc/66] |
|
|
|
|
--datarootdir=DATAROOTDIR read-only architecture-independent data root [PREFIX/share] |
|
|
|
|
--shebangdir=DIR absolute path for execline #\! invocations [BINDIR] |
|
|
|
|
--with-service-directory=DIR service intallation directory [LIBDIR/service] |
|
|
|
|
--with-system-service=DIR service intallation directory [DATAROOTDIR/66/service] |
|
|
|
|
--with-boot-conf=DIR installation directory of boot.conf [SYSDIR] |
|
|
|
|
--with-init-conf=DIR init.conf skeleton file of 66-boot [SYSDIR] |
|
|
|
|
--with-scripts=DIR installation directory of scripts [LIBDIR/scripts] |
|
|
|
@ -107,8 +108,9 @@ exec_prefix='$prefix'
|
|
|
|
|
bindir='$exec_prefix/bin' |
|
|
|
|
libdir='$prefix/lib/$ss_dir' |
|
|
|
|
sysconfdir='/etc/66' |
|
|
|
|
datarootdir='$prefix/share' |
|
|
|
|
shebangdir='$bindir' |
|
|
|
|
service_directory='$libdir/service' |
|
|
|
|
service_directory='$datarootdir/66/service' |
|
|
|
|
boot_conf='$sysconfdir/boot.conf' |
|
|
|
|
init_conf='$sysconfdir/init.conf' |
|
|
|
|
scripts='$libdir/scripts' |
|
|
|
@ -143,7 +145,7 @@ for arg ; do
|
|
|
|
|
--sysconfdir=*) sysconfdir=${arg#*=} ;; |
|
|
|
|
--datarootdir=*) datarootdir=${arg#*=} ;; |
|
|
|
|
--shebangdir=*) shebangdir=${arg#*=} ;; |
|
|
|
|
--with-service-directory=*) service_directory=${arg#*=} ;; |
|
|
|
|
--with-system-service=*) service_directory=${arg#*=} ;; |
|
|
|
|
--with-boot-conf=*) boot_conf=${arg#*=} ;; |
|
|
|
|
--with-init-conf=*) init_conf=${arg#*=} ;; |
|
|
|
|
--with-scripts=*) scripts=${arg#*=} ;; |
|
|
|
@ -178,6 +180,9 @@ if test -z "$prefix" ; then
|
|
|
|
|
if test "$libdir" = '$prefix/lib/$ss_dir' ; then |
|
|
|
|
libdir=/usr/lib/$ss_dir |
|
|
|
|
fi |
|
|
|
|
if test "$datarootdir" = '$prefix/share'; then |
|
|
|
|
datarootdir=/usr/share |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if test -z "$sysconfdir" ; then |
|
|
|
@ -207,6 +212,13 @@ for i in service_directory scripts boot_conf init_conf; do
|
|
|
|
|
stripdir $i |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
stripdir datarootdir |
|
|
|
|
for i in service_directory; do |
|
|
|
|
eval tmp=\${$i} |
|
|
|
|
eval $i=$tmp |
|
|
|
|
stripdir $i |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
for i in HOSTNAME HARDWARECLOCK TZ KEYMAP FONT FONT_MAP \ |
|
|
|
|
FONT_UNIMAP CRYPTTAB IPTABLES IP6TABLES FSTAB \ |
|
|
|
|
CGROUPS SWAP LVM DMRAID BTRFS ZFS \ |
|
|
|
@ -248,6 +260,7 @@ exec_prefix := $exec_prefix
|
|
|
|
|
bindir := $bindir |
|
|
|
|
libdir := $libdir |
|
|
|
|
sysconfdir := $sysconfdir |
|
|
|
|
datarootdir := $datarootdir |
|
|
|
|
shebangdir := $shebangdir |
|
|
|
|
service_directory := $service_directory |
|
|
|
|
boot_conf := $boot_conf |
|
|
|
|