Build HTML documentation and install it.
[become] / manual / Makefile.am
1 ## Process this file with `automake' to generate `Makefile.in'
2 ## -*-makefile-*-
3 ##
4 ## $Id: Makefile.am,v 1.2 1997/09/18 11:15:41 mdw Exp $
5 ##
6 ## Makefile for `become'
7 ##
8 ## (c) 1997 EBI
9 ##
10
11 ##----- Licensing notice ----------------------------------------------------
12 ##
13 ## This file is part of `become'
14 ##
15 ## `Become' is free software; you can redistribute it and/or modify
16 ## it under the terms of the GNU General Public License as published by
17 ## the Free Software Foundation; either version 2 of the License, or
18 ## (at your option) any later version.
19 ##
20 ## `Become' is distributed in the hope that it will be useful,
21 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ## GNU General Public License for more details.
24 ##
25 ## You should have received a copy of the GNU General Public License
26 ## along with `become'; if not, write to the Free Software Foundation,
27 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28
29 ##----- Revision history ----------------------------------------------------
30 ##
31 ## $Log: Makefile.am,v $
32 ## Revision 1.2 1997/09/18 11:15:41 mdw
33 ## Build HTML documentation and install it.
34 ##
35 ## Revision 1.1 1997/08/07 09:35:34 mdw
36 ## Added trivial Makefiles. Better write some documentation.
37 ##
38
39 ##----- Distribute the right things -----------------------------------------
40
41 htmldir = @htmldir@
42
43 EXTRA_DIST = texinfo.tex
44 info_TEXINFOS = become.texi
45 noinst_DATA = become_*.html
46
47 become_*.html: stamp-html.in
48
49 stamp-html.in: $(srcdir)/become.texi
50 cd $(srcdir); texi2html -menu -split_node become.texi
51 echo datestamp >$(srcdir)/stamp-html.in
52
53 install-data-local: stamp-html.in
54 $(mkinstalldirs) $(htmldir)
55 cd $(srcdir); for i in become_*.html; do \
56 $(INSTALL_DATA) $$i $(htmldir)/$$i; \
57 done
58
59 uninstall-local:
60 rm -f $(htmldir)/become_*.html
61
62 MAINTAINERCLEANFILES = \
63 $(srcdir)/stamp-html.in $(srcdir)/become_*.html \
64 $(srcdir)/become.info*
65
66 ##----- That's all, folks ---------------------------------------------------