Build HTML documentation and install it.
authormdw <mdw>
Thu, 18 Sep 1997 11:15:41 +0000 (11:15 +0000)
committermdw <mdw>
Thu, 18 Sep 1997 11:15:41 +0000 (11:15 +0000)
manual/Makefile.am

index 1248be4..fef91ff 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with `automake' to generate `Makefile.in'
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1997/08/07 09:35:34 mdw Exp $
+## $Id: Makefile.am,v 1.2 1997/09/18 11:15:41 mdw Exp $
 ##
 ## Makefile for `become'
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.am,v $
+## Revision 1.2  1997/09/18 11:15:41  mdw
+## Build HTML documentation and install it.
+##
 ## Revision 1.1  1997/08/07 09:35:34  mdw
 ## Added trivial Makefiles.  Better write some documentation.
 ##
 
 ##----- Distribute the right things -----------------------------------------
 
-EXTRA_DIST = become.tex syntax.sty
+htmldir = @htmldir@
+
+EXTRA_DIST = texinfo.tex
+info_TEXINFOS = become.texi
+noinst_DATA = become_*.html
+
+become_*.html: stamp-html.in
+
+stamp-html.in: $(srcdir)/become.texi
+       cd $(srcdir); texi2html -menu -split_node become.texi
+       echo datestamp >$(srcdir)/stamp-html.in
+
+install-data-local: stamp-html.in
+       $(mkinstalldirs) $(htmldir)
+       cd $(srcdir); for i in become_*.html; do \
+         $(INSTALL_DATA) $$i $(htmldir)/$$i; \
+       done
+
+uninstall-local:
+       rm -f $(htmldir)/become_*.html
+
+MAINTAINERCLEANFILES = \
+       $(srcdir)/stamp-html.in $(srcdir)/become_*.html \
+       $(srcdir)/become.info*
 
 ##----- That's all, folks ---------------------------------------------------