summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-15 14:41:46 +0000
committermidipix <writeonce@midipix.org>2021-04-15 18:16:29 +0000
commit5f8f545f2f560bcc628779228c01fd38d327dcef (patch)
treedd522ce2da35339b412c5024a213bdaa1ca37cad
parentb3055b3f3210607c7a7d381402c690ea02d483cb (diff)
downloadapimagic-5f8f545f2f560bcc628779228c01fd38d327dcef.tar.bz2
apimagic-5f8f545f2f560bcc628779228c01fd38d327dcef.tar.xz
build system: configure: fix default setting of $mb_docdir.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5dff097..8d7edbc 100755
--- a/configure
+++ b/configure
@@ -537,7 +537,7 @@ common_defaults()
[ -n "$mb_oldincludedir" ] || mb_oldincludedir=$mb_prefix/include
[ -n "$mb_datarootdir" ] || mb_datarootdir=$mb_prefix/share
[ -n "$mb_mandir" ] || mb_mandir=$mb_datarootdir/man
- [ -n "$mb_docdir" ] || mb_docdir=$mb_datarootdir/doc
+ [ -n "$mb_docdir" ] || mb_docdir=$mb_datarootdir/doc/$mb_package
[ -n "$mb_libexecdir" ] || mb_libexecdir=$mb_exec_prefix/libexec
[ -n "$mb_sysconfdir" ] || mb_sysconfdir=$mb_exec_prefix/etc