From: Matt Birkholz Date: Mon, 29 Oct 2018 16:06:18 +0000 (-0700) Subject: plugin configure.ac: Add --with-scmdocdir. X-Git-Tag: mit-scheme-pucked-10.1.2~17 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e9acba0d28e792c17e4eec39a8dc7dea7adb3373;p=mit-scheme.git plugin configure.ac: Add --with-scmdocdir. Set htmldir and pdfdir to subdirectories of scmdocdir. Keep docdir for standard package README, TODO, etc. --- diff --git a/src/blowfish/configure.ac b/src/blowfish/configure.ac index a850a683b..6dea4b839 100644 --- a/src/blowfish/configure.ac +++ b/src/blowfish/configure.ac @@ -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]) diff --git a/src/cairo/configure.ac b/src/cairo/configure.ac index 5dcc6f962..3f003de01 100644 --- a/src/cairo/configure.ac +++ b/src/cairo/configure.ac @@ -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]) diff --git a/src/devops/configure.ac b/src/devops/configure.ac index ecb85c167..bb2f236b4 100644 --- a/src/devops/configure.ac +++ b/src/devops/configure.ac @@ -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]) diff --git a/src/edwin/configure.ac b/src/edwin/configure.ac index 661cf9b8c..a30abf1ab 100644 --- a/src/edwin/configure.ac +++ b/src/edwin/configure.ac @@ -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 diff --git a/src/gdbm/configure.ac b/src/gdbm/configure.ac index 0920253a4..e1cbcaef9 100644 --- a/src/gdbm/configure.ac +++ b/src/gdbm/configure.ac @@ -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]) diff --git a/src/gl/configure.ac b/src/gl/configure.ac index a068c1c2b..9edb5ed4b 100644 --- a/src/gl/configure.ac +++ b/src/gl/configure.ac @@ -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]) diff --git a/src/glib/configure.ac b/src/glib/configure.ac index 20d9a445e..5d7fab32c 100644 --- a/src/glib/configure.ac +++ b/src/glib/configure.ac @@ -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]) diff --git a/src/gtk-screen/configure.ac b/src/gtk-screen/configure.ac index 750ed1ca9..354a1ce6b 100644 --- a/src/gtk-screen/configure.ac +++ b/src/gtk-screen/configure.ac @@ -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]) diff --git a/src/gtk/configure.ac b/src/gtk/configure.ac index 378d0ab83..e3de544bd 100644 --- a/src/gtk/configure.ac +++ b/src/gtk/configure.ac @@ -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]) diff --git a/src/imail/configure.ac b/src/imail/configure.ac index d7c986ffc..74857e703 100644 --- a/src/imail/configure.ac +++ b/src/imail/configure.ac @@ -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]) diff --git a/src/mcrypt/configure.ac b/src/mcrypt/configure.ac index 6630b61b5..978121031 100644 --- a/src/mcrypt/configure.ac +++ b/src/mcrypt/configure.ac @@ -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]) diff --git a/src/pango/configure.ac b/src/pango/configure.ac index 8325a53fc..45017d5df 100644 --- a/src/pango/configure.ac +++ b/src/pango/configure.ac @@ -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]) diff --git a/src/pgsql/configure.ac b/src/pgsql/configure.ac index cd96a68b6..cbc56c3e8 100644 --- a/src/pgsql/configure.ac +++ b/src/pgsql/configure.ac @@ -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]) diff --git a/src/planetarium/configure.ac b/src/planetarium/configure.ac index b4d1da8f7..4f23d0f74 100644 --- a/src/planetarium/configure.ac +++ b/src/planetarium/configure.ac @@ -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]) diff --git a/src/x11-screen/configure.ac b/src/x11-screen/configure.ac index b0cbc9d8b..c9803aaf0 100644 --- a/src/x11-screen/configure.ac +++ b/src/x11-screen/configure.ac @@ -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]) diff --git a/src/x11/configure.ac b/src/x11/configure.ac index e3498f605..4ba176063 100644 --- a/src/x11/configure.ac +++ b/src/x11/configure.ac @@ -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])