plugin configure.ac: Add --with-scmdocdir.
authorMatt Birkholz <matt@birchwood-abbey.net>
Mon, 29 Oct 2018 16:06:18 +0000 (09:06 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Thu, 1 Nov 2018 19:26:52 +0000 (12:26 -0700)
Set htmldir and pdfdir to subdirectories of scmdocdir.  Keep docdir
for standard package README, TODO, etc.

16 files changed:
src/blowfish/configure.ac
src/cairo/configure.ac
src/devops/configure.ac
src/edwin/configure.ac
src/gdbm/configure.ac
src/gl/configure.ac
src/glib/configure.ac
src/gtk-screen/configure.ac
src/gtk/configure.ac
src/imail/configure.ac
src/mcrypt/configure.ac
src/pango/configure.ac
src/pgsql/configure.ac
src/planetarium/configure.ac
src/x11-screen/configure.ac
src/x11/configure.ac

index a850a683ba806a1cdca32283bcc08ed5f33e63e1..6dea4b8392541a808bd45ae8a08141feed2baebb 100644 (file)
@@ -67,6 +67,14 @@ USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -167,10 +175,6 @@ done
 MIT_SCHEME_DEPS="${MIT_SCHEME_DEPS}
 ${MIT_SCHEME_PKD}: stamp-scheme"
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_CFLAGS])
index 5dcc6f962b0c19f0839f02530e795fe87af6e0c8..3f003de01d07c91945f9c6dcacc86896b7aab317 100644 (file)
@@ -52,6 +52,14 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -111,10 +119,6 @@ MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_CFLAGS])
index ecb85c167ea03c853d0d6194ce466f42d32f4458..bb2f236b4c5880c83ffdb513bc10d68de3342ba4 100644 (file)
@@ -28,6 +28,14 @@ along with this plugin; if not, write to the Free Software Foundation,
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
@@ -41,10 +49,6 @@ MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_LIBDIR])
index 661cf9b8c141a21ddfd598425ce326dbe5fcf11c..a30abf1ab9d21aaf13d9e108852f518161b86810 100644 (file)
@@ -34,6 +34,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
index 0920253a4f0844a4e172caa9197d71374c3fe12e..e1cbcaef95834f41d509886b680c18ec5a122a8e 100644 (file)
@@ -36,6 +36,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -118,10 +126,6 @@ done
 MIT_SCHEME_DEPS="${MIT_SCHEME_DEPS}
 ${MIT_SCHEME_PKD}: stamp-scheme"
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_CFLAGS])
 AC_SUBST([MIT_SCHEME_EXE])
index a068c1c2bbb92263aa10870cf86c78cd98d69398..9edb5ed4bb0fc500806b597af631e20caf5837d8 100644 (file)
@@ -52,6 +52,14 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -111,10 +119,6 @@ MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_CFLAGS])
index 20d9a445eb22d6f7200f49b0134e2725fb6910d6..5d7fab32c94b82f48d48ad5340631053056d50c5 100644 (file)
@@ -52,6 +52,14 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -111,10 +119,6 @@ MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_CFLAGS])
index 750ed1ca94c01c368a9a99cc9f0fe738a270db29..354a1ce6bca91b0ea7f32b6be3d28a6dc645849c 100644 (file)
@@ -27,6 +27,14 @@ along with this plugin; if not, write to the Free Software Foundation,
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
@@ -39,10 +47,6 @@ MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_LIBDIR])
index 378d0ab83d6c8b6f70041695822c4964e6c6ab15..e3de544bd2287661cc15af929476078b37cf794b 100644 (file)
@@ -52,6 +52,14 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -139,10 +147,6 @@ MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_CFLAGS])
index d7c986ffc1b8939ba79cc7ae9c1994d2e251e6b9..74857e703d1a1cc34aa4591de5d107e5f35e5d80 100644 (file)
@@ -34,6 +34,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
@@ -46,10 +54,6 @@ MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_LIBDIR])
index 6630b61b5491244d93c1e9415273ac3db081ce42..97812103183e00040459efb1764abedf58965c03 100644 (file)
@@ -67,6 +67,14 @@ USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -152,10 +160,6 @@ done
 MIT_SCHEME_DEPS="${MIT_SCHEME_DEPS}
 ${MIT_SCHEME_PKD}: stamp-scheme"
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_CFLAGS])
 AC_SUBST([MIT_SCHEME_EXE])
index 8325a53fcd4e17085175be6af860e131f4339dd2..45017d5df1c63cda2d15c28d7635adc99273471f 100644 (file)
@@ -52,6 +52,14 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -111,10 +119,6 @@ MIT_SCHEME_INCLUDEDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_CFLAGS])
index cd96a68b61fa2be3a2acaf2b1be7986b10989075..cbc56c3e84ef5f0c541287596a456e1eaa712365 100644 (file)
@@ -67,6 +67,14 @@ USA.
 
 */])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -153,10 +161,6 @@ done
 MIT_SCHEME_DEPS="${MIT_SCHEME_DEPS}
 ${MIT_SCHEME_PKD}: stamp-scheme"
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_CFLAGS])
 AC_SUBST([MIT_SCHEME_EXE])
index b4d1da8f7dc755f296d66ac84bb6db2f52c03086..4f23d0f74848fec41e585b632ddc92d3b9222ad6 100644 (file)
@@ -27,6 +27,14 @@ along with this plugin; if not, write to the Free Software Foundation,
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
@@ -39,10 +47,6 @@ MIT_SCHEME_LIBDIR=`( echo "(display (->namestring" ;\
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
                      | ${MIT_SCHEME_EXE} --batch-mode`
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_LIBDIR])
index b0cbc9d8bb5c49db390a700223a27f427e949cd9..c9803aaf0a4564553b4f585341269e572a7fbaee 100644 (file)
@@ -34,6 +34,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 AC_PROG_INSTALL
@@ -70,10 +78,6 @@ done
 MIT_SCHEME_DEPS="${MIT_SCHEME_DEPS}
 ${MIT_SCHEME_PKD}: stamp-scheme"
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_SCHEME_PROJECT])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_LIBDIR])
index e3498f605f986628cc6e19e42258e7b86cc85a14..4ba1760638e81efa9ccd5b2453105b28f75d5590 100644 (file)
@@ -36,6 +36,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 ])
 
+AC_ARG_WITH([scmdocdir],
+    AS_HELP_STRING([--with-scmdocdir=],
+       [Common area for all plugin documentation]))
+: ${with_scmdocdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)'}
+scmdocdir=${with_scmdocdir}
+htmldir='$(scmdocdir)/html'
+pdfdir='$(scmdocdir)/pdf'
+
 AM_INIT_AUTOMAKE
 
 LT_PREREQ([2.2.6])
@@ -138,10 +146,6 @@ done
 MIT_SCHEME_DEPS="${MIT_SCHEME_DEPS}
 ${MIT_SCHEME_PKD}: stamp-scheme"
 
-# Install plugin docs in Scheme's docdir subdirectories.
-htmldir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/html'
-pdfdir='$(datarootdir)/doc/$(MIT_SCHEME_PROJECT)/pdf'
-
 AC_SUBST([MIT_CFLAGS])
 AC_SUBST([MIT_LIBS])
 AC_SUBST([MIT_SCHEME_PROJECT])