Adjusted paths and Makefile suitable for /opt installation method
This commit is contained in:
parent
bfdfe9b77f
commit
f971df16c7
6 changed files with 6 additions and 6 deletions
2
Makefile
2
Makefile
|
@ -11,7 +11,7 @@ PKG_NAME=$(NAME)-$(VERSION)
|
||||||
PKG=$(PKG_DIR)/$(PKG_NAME)_$(VERSION).tar.gz
|
PKG=$(PKG_DIR)/$(PKG_NAME)_$(VERSION).tar.gz
|
||||||
SIG=$(PKG_DIR)/$(PKG_NAME).asc
|
SIG=$(PKG_DIR)/$(PKG_NAME).asc
|
||||||
|
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/opt/$(NAME)
|
||||||
DOC_DIR=$(PREFIX)/share/doc/$(PKG_NAME)
|
DOC_DIR=$(PREFIX)/share/doc/$(PKG_NAME)
|
||||||
|
|
||||||
pkg:
|
pkg:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source $(dirname $(dirname $0))/lib/ca-functions
|
source $(dirname $(dirname $0))/../lib/ca-functions
|
||||||
|
|
||||||
ALT_NAMES=()
|
ALT_NAMES=()
|
||||||
QUALIFY=1
|
QUALIFY=1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/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
|
# XXX: Add an interactive mode to this script to obviate the need for a
|
||||||
# pre-existing config file? e.g.
|
# pre-existing config file? e.g.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source $(dirname $(dirname $0))/lib/ca-functions
|
source $(dirname $(dirname $0))/../lib/ca-functions
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
cat <<__EOT__
|
cat <<__EOT__
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source $(dirname $(dirname $0))/lib/ca-functions
|
source $(dirname $(dirname $0))/../lib/ca-functions
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
cat <<__EOT__
|
cat <<__EOT__
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PROGNAME=$( basename $0 )
|
PROGNAME=$( basename $0 )
|
||||||
CONFFILE="/etc/ca-scripts.conf"
|
CONFFILE="/etc/ca-scripts.conf"
|
||||||
SHAREDIR=$(dirname $(dirname $0))/tpl
|
SHAREDIR=$(dirname $(dirname $0))/../tpl
|
||||||
CRYPTKEY="-nodes"
|
CRYPTKEY="-nodes"
|
||||||
|
|
||||||
INDEXTPL="index-html"
|
INDEXTPL="index-html"
|
||||||
|
|
Loading…
Reference in a new issue