aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-06-19 20:45:16 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-06-19 20:45:16 +0300
commit60a09132b62c3cae86f5e832830a4490ba5bf712 (patch)
treea893191d13b0bf294fb81439a27505822e1bac67 /doc
parentb65c64a200dac8194dacc90ae2150b683f64cd8a (diff)
downloadsciteco-60a09132b62c3cae86f5e832830a4490ba5bf712.tar.gz
the SciTECO data installation path is now configurable via --with-scitecodatadir
* This is also the base of $SCITECOPATH. * Changing it is useful for packaging where it is not possible to factor out the common files between Curses and Gtk builds into a "sciteco-common" package. As an alternative, you can now create disjunct sciteco-curses and sciteco-gtk packages. * You will most likely want to use this for Gtk builds as in: --with-interface=gtk --program-prefix=g --with-scitecodatadir=/usr/local/share/gsciteco.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am4
-rw-r--r--doc/grosciteco.tes.1.in4
-rw-r--r--doc/sciteco.1.in4
-rw-r--r--doc/sciteco.7.template2
4 files changed, 7 insertions, 7 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1afe7ee..9e32c19 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -22,10 +22,10 @@ dist_bin_SCRIPTS += grosciteco.tes
# Unfortunately, there is no way to query the built-in
# Groff tmac path.
# Therefore, the "sciteco" macros are installed into
-# SciTECO's pkgdatadir. Users can copy this file, set up
+# SciTECO's scitecodatadir. Users can copy this file, set up
# environment variables like $GROFF_TMAC_PATH or pass
# the directory via `groff -M`.
-dist_pkgdata_DATA = sciteco.tmac
+dist_scitecodata_DATA = sciteco.tmac
# Fix up the hash-bang line of installed SciTECO scripts upon
# installation to refer to the installed sciteco binary.
diff --git a/doc/grosciteco.tes.1.in b/doc/grosciteco.tes.1.in
index 75af1e0..39941db 100644
--- a/doc/grosciteco.tes.1.in
+++ b/doc/grosciteco.tes.1.in
@@ -141,7 +141,7 @@ that are also installed into the system.
.LP
Note that \(lqsciteco.tmac\(rq is not installed into the
standard \fBGNU roff\fP macro search directories, but into
-\*(ST data directory at \(lq@pkgdatadir@\(rq.
+\*(ST data directory at \(lq@scitecodatadir@\(rq.
It must thus be moved or linked manually into one of the
search paths, or the data dir must be added to the search
paths.
@@ -158,7 +158,7 @@ a \*(ST macro package with a man page called
.RS
.SCITECO_TT
.EX
-groff -Z -Tascii -man -M@pkgdatadir@ -msciteco \\
+groff -Z -Tascii -man -M@scitecodatadir@ -msciteco \\
great-macro.tes.7sciteco >great-macro.tes.7sciteco.intermediate
grosciteco.tes great-macro.tes.7sciteco.woman great-macro.tes.7sciteco.woman.tec \\
great-macro.tes.7sciteco.intermediate
diff --git a/doc/sciteco.1.in b/doc/sciteco.1.in
index c24858a..1ebb4de 100644
--- a/doc/sciteco.1.in
+++ b/doc/sciteco.1.in
@@ -345,7 +345,7 @@ program termination or user-programmed behaviour.
.B $SCITECOCONFIG/.teco_ini
Default profile macro.
.TP
-.B @pkgdatadir@/sample.teco_ini
+.B @scitecodatadir@/sample.teco_ini
Sample profile macro configuring commonly used run-time options,
syntax highlighting, session handling
and opening files specified on the command line.
@@ -377,7 +377,7 @@ CSS file that can be used to apply \*(ST color schemes
to the entire UI and to do other style customizations.
.TP
.SCITECO_TOPIC "fallback.css"
-.B @pkgdatadir@/fallback.css
+.B @scitecodatadir@/fallback.css
When using the Gtk UI, this is a fallback stylesheet
in case
.B $SCITECOCONFIG/.teco_css
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template
index 4c06770..2ad16d3 100644
--- a/doc/sciteco.7.template
+++ b/doc/sciteco.7.template
@@ -863,7 +863,7 @@ The CSS file is loaded from
.B $SCITECOCONFIG/.teco_css
if it is existing.
Else, \*(ST loads the fallback CSS at
-.BR @pkgdatadir@/fallback.css ,
+.BR @scitecodatadir@/fallback.css ,
which can also be used as a template when writing \fB.teco_css\fP.
The fallback CSS can also be consulted for additional documentation
on \*(ST's named widgets and special CSS classes.