81fc3368c9f8f680d8641f7c92500ace44850632
[become] / manual / Makefile.am
1 ## Process this file with `automake' to generate `Makefile.in'
2 ## -*-makefile-*-
3 ##
4 ## $Id: Makefile.am,v 1.8 1999/05/04 16:24:42 mdw Exp $
5 ##
6 ## Makefile for `become'
7 ##
8 ## (c) 1998 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.8 1999/05/04 16:24:42 mdw
33 ## Distribute the generated HTML files.
34 ##
35 ## Revision 1.7 1998/06/18 16:07:57 mdw
36 ## Fix installation of HTML files.
37 ##
38 ## Revision 1.6 1998/04/23 13:10:34 mdw
39 ## Add new file `texinice.tex' to the distribution.
40 ##
41 ## Revision 1.5 1998/01/20 14:48:18 mdw
42 ## Distribute gpl.texi. Ooops.
43 ##
44 ## Revision 1.4 1998/01/12 16:45:35 mdw
45 ## Fix copyright date.
46 ##
47 ## Revision 1.3 1997/09/24 13:02:00 mdw
48 ## Distribute stamp-html.in so that the HTML files don't get recreated
49 ## unnecessarily.
50 ##
51 ## Revision 1.2 1997/09/18 11:15:41 mdw
52 ## Build HTML documentation and install it.
53 ##
54 ## Revision 1.1 1997/08/07 09:35:34 mdw
55 ## Added trivial Makefiles. Better write some documentation.
56 ##
57
58 ##----- Distribute the right things -----------------------------------------
59
60 htmldir = @htmldir@
61
62 EXTRA_DIST = gpl.texi texinfo.tex texinice.tex stamp-html.in
63 info_TEXINFOS = become.texi
64 noinst_DATA = become_*.html
65
66 become_*.html: stamp-html.in
67
68 stamp-html.in: $(srcdir)/become.texi
69 cd $(srcdir); texi2html -menu -split_node become.texi
70 echo datestamp >$(srcdir)/stamp-html.in
71
72 install-data-local: stamp-html.in
73 $(mkinstalldirs) $(htmldir)
74 for i in $(srcdir)/become_*.html; do \
75 $(INSTALL_DATA) $$i $(htmldir); \
76 done
77
78 uninstall-local:
79 rm -f $(htmldir)/become_*.html
80
81 dist-hook:
82 distdir=`cd $(distdir) && pwd`; \
83 cd $(srcdir); \
84 ln become_*.html $$distdir
85
86 MAINTAINERCLEANFILES = \
87 $(srcdir)/stamp-html.in $(srcdir)/become_*.html \
88 $(srcdir)/become.info*
89
90 ##----- That's all, folks ---------------------------------------------------