Adjusted paths and Makefile suitable for /opt installation method

This commit is contained in:
Eric Renfro 2015-02-18 13:53:35 -05:00
parent bfdfe9b77f
commit f971df16c7
6 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ PKG_NAME=$(NAME)-$(VERSION)
PKG=$(PKG_DIR)/$(PKG_NAME)_$(VERSION).tar.gz
SIG=$(PKG_DIR)/$(PKG_NAME).asc
PREFIX?=/usr/local
PREFIX?=/opt/$(NAME)
DOC_DIR=$(PREFIX)/share/doc/$(PKG_NAME)
pkg:

View file

@ -1,6 +1,6 @@
#!/bin/bash
source $(dirname $(dirname $0))/lib/ca-functions
source $(dirname $(dirname $0))/../lib/ca-functions
ALT_NAMES=()
QUALIFY=1

View file

@ -1,6 +1,6 @@
#!/bin/bash
source $(dirname $(dirname $0))/lib/ca-functions
source $(dirname $(dirname $0))/../lib/ca-functions
# XXX: Add an interactive mode to this script to obviate the need for a
# pre-existing config file? e.g.

View file

@ -1,6 +1,6 @@
#!/bin/bash
source $(dirname $(dirname $0))/lib/ca-functions
source $(dirname $(dirname $0))/../lib/ca-functions
usage() {
cat <<__EOT__

View file

@ -1,6 +1,6 @@
#!/bin/sh
source $(dirname $(dirname $0))/lib/ca-functions
source $(dirname $(dirname $0))/../lib/ca-functions
usage() {
cat <<__EOT__

View file

@ -3,7 +3,7 @@
PROGNAME=$( basename $0 )
CONFFILE="/etc/ca-scripts.conf"
SHAREDIR=$(dirname $(dirname $0))/tpl
SHAREDIR=$(dirname $(dirname $0))/../tpl
CRYPTKEY="-nodes"
INDEXTPL="index-html"