mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtdocbook: remove hardcoded /usr/dt.
This commit is contained in:
parent
3acbed6bc9
commit
a0ac8c06bf
2 changed files with 13 additions and 3 deletions
|
@ -88,11 +88,21 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
default_charset='UTF-8'
|
default_charset='UTF-8'
|
||||||
dbk_lib="${dbk_lib:-/usr/dt/dthelp/dtdocbook}" # if no -t, use installed dir
|
|
||||||
|
pkg_dbk='cde-desktop/dtdocbook'
|
||||||
|
|
||||||
|
# if no -t, use installed dir
|
||||||
|
if [[ "$dbk_lib" = "" ]] then
|
||||||
|
dbk_lib="$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P)"
|
||||||
|
dbk_lib="${dbk_lib}/../share/${pkg_dbk}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if no -I, use installed one
|
||||||
|
instant="${instant:-${dbk_lib}/../../../libexec/${pkg_dbk}/instant}"
|
||||||
|
|
||||||
sgml_dir="${sgml_dir:-${dbk_lib}/sgml}" # if no -s, use -t
|
sgml_dir="${sgml_dir:-${dbk_lib}/sgml}" # if no -s, use -t
|
||||||
sgml_cat="${sgml_dir}"
|
sgml_cat="${sgml_dir}"
|
||||||
sgmls="${sgmls:-onsgmls}" # if no -S, use onsgmls
|
sgmls="${sgmls:-onsgmls}" # if no -S, use onsgmls
|
||||||
instant="${instant:-${dbk_lib}/instant}" # if no -I, use installed one
|
|
||||||
x_locale="${x_locale:-${LANG}}" # if no -L, use installed one
|
x_locale="${x_locale:-${LANG}}" # if no -L, use installed one
|
||||||
helptag2="${helptag2:-dthelp_htag2}" # if no -H, use one in PATH
|
helptag2="${helptag2:-dthelp_htag2}" # if no -H, use one in PATH
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
noinst_PROGRAMS = instant
|
pkglibexec_PROGRAMS = instant
|
||||||
|
|
||||||
instant_CFLAGS = -I../lib/tptregexp $(DT_INCDIR)
|
instant_CFLAGS = -I../lib/tptregexp $(DT_INCDIR)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue