guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile-doc html Re: GUILE FAQ


From: Steve Tell
Subject: guile-doc html Re: GUILE FAQ
Date: Tue, 23 Jan 2001 22:26:07 -0500 (EST)

On 23 Jan 2001, Neil Jerram wrote:

> If you can send me a patch for this (Makefile.am rather than Makefile,
> I presume), I'll be happy to apply it.  Surely there must be another
> automake-based project somewhere that already has the appropriate
> incantation.

Since I prefer to browse my online guile docs in html, I whipped up the
attached patch against guile-doc CVS (updated a few minutes ago).  Seems
to work - YMMV, as usual.

Steve

--
Steve Tell  address@hidden 


*** Makefile.am.orig    Mon Apr 13 07:18:56 1998
--- Makefile.am Tue Jan 23 21:49:00 2001
***************
*** 1,5 ****
  ## Process this file with automake to produce Makefile.in.
  
! SUBDIRS = ref tutorial sources
  #info_TEXINFOS = ctax.texi gtcltk.texi guile.texi in.texi lang.texi
  #EXTRA_DIST = agenda errors.txt expect.texi
--- 1,5 ----
  ## Process this file with automake to produce Makefile.in.
  
! SUBDIRS = ref tutorial sources html
  #info_TEXINFOS = ctax.texi gtcltk.texi guile.texi in.texi lang.texi
  #EXTRA_DIST = agenda errors.txt expect.texi
*** configure.in.orig   Sun Aug  6 20:55:19 2000
--- configure.in        Tue Jan 23 22:02:22 2001
***************
*** 1,3 ****
  AC_INIT(Makefile.in)
  AM_INIT_AUTOMAKE(guile-doc, 1.4)
! AC_OUTPUT(Makefile ref/Makefile tutorial/Makefile sources/Makefile)
--- 1,7 ----
  AC_INIT(Makefile.in)
  AM_INIT_AUTOMAKE(guile-doc, 1.4)
! 
! AC_PATH_PROG(TEXI2HTML, texi2html, true)
! 
! AC_OUTPUT(Makefile ref/Makefile tutorial/Makefile sources/Makefile
! html/Makefile)
*** /dev/null   Tue May  5 16:32:27 1998
--- html/Makefile.am    Tue Jan 23 22:15:20 2001
***************
*** 0 ****
--- 1,18 ----
+ ## Process this file with automake to produce Makefile.in
+ 
+ AUTOMAKE_OPTIONS = foreign
+ 
+ pkghtmldir = @prefix@/doc/@PACKAGE@
+ 
+ # The generated makefile will require GNU make,
+ # and the use of $(shell) is a bit ugly.  But we really don't know 
+ # how many numbered html files will get generated.  Better ideas anyone?
+ pkghtml_DATA = guile_toc.html guile-tut_toc.html guile_foot.html 
guile-tut_foot.html $(shell ls guile*[0-9].html)
+ 
+ guile_toc.html: $(top_srcdir)/ref/guile.texi
+       $(TEXI2HTML)  -I $(top_srcdir)/ref -split_chapter 
$(top_srcdir)/ref/guile.texi
+ 
+ guile-tut_toc.html: $(top_srcdir)/tutorial/guile-tut.texi
+       $(TEXI2HTML)  -I $(top_srcdir)/tutorial -split_chapter 
$(top_srcdir)/tutorial/guile-tut.texi
+ 
+ EXTRA_DIST=$(pkghtml_DATA)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]