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"