From: Matt Birkholz Date: Thu, 10 Mar 2016 22:35:04 +0000 (-0700) Subject: plugin Makefile.ams: Add support for .texi. (No actual .texi yet.) X-Git-Tag: mit-scheme-pucked-9.2.12~261^2~75^2~4 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=55f78ad3868592e64f87a9f9e51c4a9545352b8d;p=mit-scheme.git plugin Makefile.ams: Add support for .texi. (No actual .texi yet.) --- diff --git a/src/blowfish/Makefile.am b/src/blowfish/Makefile.am index 39b56433f..0e9f45003 100644 --- a/src/blowfish/Makefile.am +++ b/src/blowfish/Makefile.am @@ -35,7 +35,11 @@ scmlib_blowfish_DATA = make.scm scmlib_blowfish_DATA += blowfish.scm blowfish.bin blowfish.bci blowfish.com scmlib_blowfish_DATA += blowfish-@MIT_SCHEME_OS_SUFFIX@.pkd -##info_TEXINFOS = blowfish.texi +#info_TEXINFOS = mit-scheme-blowfish.texi +AM_MAKEINFOHTMLFLAGS = --no-split + +# Set this to the default used by Scheme. +htmldir = $(libdir)/mit-scheme/doc AM_CPPFLAGS = -I$(scmlibdir) @@ -71,8 +75,15 @@ install-data-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode +install-html: install-html-am + echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode + uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode [ -d "$(DESTDIR)$(scmlib_blowfishdir)" ] \ && rmdir "$(DESTDIR)$(scmlib_blowfishdir)" + [ -d "$(DESTDIR)$(htmldir)" ] \ + && ( echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode ) diff --git a/src/gdbm/Makefile.am b/src/gdbm/Makefile.am index d9649609a..0799b654a 100644 --- a/src/gdbm/Makefile.am +++ b/src/gdbm/Makefile.am @@ -35,7 +35,11 @@ scmlib_gdbm_DATA = make.scm scmlib_gdbm_DATA += gdbm.scm gdbm.bin gdbm.bci gdbm.com scmlib_gdbm_DATA += gdbm-@MIT_SCHEME_OS_SUFFIX@.pkd -##info_TEXINFOS = gdbm.texi +#info_TEXINFOS = mit-scheme-gdbm.texi +AM_MAKEINFOHTMLFLAGS = --no-split + +# Set this to the default used by Scheme. +htmldir = $(libdir)/mit-scheme/doc AM_CPPFLAGS = -I$(scmlibdir) @@ -70,8 +74,15 @@ install-data-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode +install-html: install-html-am + echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode + uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode [ -d "$(DESTDIR)$(scmlib_gdbmdir)" ] \ && rmdir "$(DESTDIR)$(scmlib_gdbmdir)" + [ -d "$(DESTDIR)$(htmldir)" ] \ + && ( echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode ) diff --git a/src/mcrypt/Makefile.am b/src/mcrypt/Makefile.am index 57b822f5a..e5a92b2ec 100644 --- a/src/mcrypt/Makefile.am +++ b/src/mcrypt/Makefile.am @@ -35,7 +35,11 @@ scmlib_mcrypt_DATA = make.scm scmlib_mcrypt_DATA += mcrypt.scm mcrypt.bin mcrypt.bci mcrypt.com scmlib_mcrypt_DATA += mcrypt-@MIT_SCHEME_OS_SUFFIX@.pkd -##info_TEXINFOS = mcrypt.texi +#info_TEXINFOS = mit-scheme-mcrypt.texi +AM_MAKEINFOHTMLFLAGS = --no-split + +# Set this to the default used by Scheme. +htmldir = $(libdir)/mit-scheme/doc AM_CPPFLAGS = -I$(scmlibdir) @@ -70,8 +74,15 @@ install-data-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode +install-html: install-html-am + echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode + uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode [ -d "$(DESTDIR)$(scmlib_mcryptdir)" ] \ && rmdir "$(DESTDIR)$(scmlib_mcryptdir)" + [ -d "$(DESTDIR)$(htmldir)" ] \ + && ( echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode ) diff --git a/src/md5/Makefile.am b/src/md5/Makefile.am index 5e3af5d3b..8b0c5ff3f 100644 --- a/src/md5/Makefile.am +++ b/src/md5/Makefile.am @@ -35,7 +35,11 @@ scmlib_md5_DATA = make.scm scmlib_md5_DATA += md5.scm md5.bin md5.bci md5.com scmlib_md5_DATA += md5-@MIT_SCHEME_OS_SUFFIX@.pkd -##info_TEXINFOS = md5.texi +#info_TEXINFOS = mit-scheme-md5.texi +AM_MAKEINFOHTMLFLAGS = --no-split + +# Set this to the default used by Scheme. +htmldir = $(libdir)/mit-scheme/doc AM_CPPFLAGS = -I$(scmlibdir) @@ -70,8 +74,15 @@ install-data-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode +install-html: install-html-am + echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode + uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode [ -d "$(DESTDIR)$(scmlib_md5dir)" ] \ && rmdir "$(DESTDIR)$(scmlib_md5dir)" + [ -d "$(DESTDIR)$(htmldir)" ] \ + && ( echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode ) diff --git a/src/mhash/Makefile.am b/src/mhash/Makefile.am index 60a87e45c..8ff47dc10 100644 --- a/src/mhash/Makefile.am +++ b/src/mhash/Makefile.am @@ -35,7 +35,11 @@ scmlib_mhash_DATA = make.scm scmlib_mhash_DATA += mhash.scm mhash.bin mhash.bci mhash.com scmlib_mhash_DATA += mhash-@MIT_SCHEME_OS_SUFFIX@.pkd -##info_TEXINFOS = mhash.texi +#info_TEXINFOS = mit-scheme-mhash.texi +AM_MAKEINFOHTMLFLAGS = --no-split + +# Set this to the default used by Scheme. +htmldir = $(libdir)/mit-scheme/doc AM_CPPFLAGS = -I$(scmlibdir) @@ -70,8 +74,15 @@ install-data-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode +install-html: install-html-am + echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode + uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode [ -d "$(DESTDIR)$(scmlib_mhashdir)" ] \ && rmdir "$(DESTDIR)$(scmlib_mhashdir)" + [ -d "$(DESTDIR)$(htmldir)" ] \ + && ( echo '(update-html-index "$(DESTDIR)$(htmldir)/")' \ + | $(MIT_SCHEME_EXE) --batch-mode )