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