Distribute stamp-html.in so that the HTML files don't get recreated
[become] / manual / Makefile.am
CommitLineData
8b580399 1## Process this file with `automake' to generate `Makefile.in'
2## -*-makefile-*-
3##
69ec21ee 4## $Id: Makefile.am,v 1.3 1997/09/24 13:02:00 mdw Exp $
8b580399 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 $
69ec21ee 32## Revision 1.3 1997/09/24 13:02:00 mdw
33## Distribute stamp-html.in so that the HTML files don't get recreated
34## unnecessarily.
35##
23562059 36## Revision 1.2 1997/09/18 11:15:41 mdw
37## Build HTML documentation and install it.
38##
8b580399 39## Revision 1.1 1997/08/07 09:35:34 mdw
40## Added trivial Makefiles. Better write some documentation.
41##
42
43##----- Distribute the right things -----------------------------------------
44
23562059 45htmldir = @htmldir@
46
69ec21ee 47EXTRA_DIST = texinfo.tex stamp-html.in
23562059 48info_TEXINFOS = become.texi
49noinst_DATA = become_*.html
50
51become_*.html: stamp-html.in
52
53stamp-html.in: $(srcdir)/become.texi
54 cd $(srcdir); texi2html -menu -split_node become.texi
55 echo datestamp >$(srcdir)/stamp-html.in
56
57install-data-local: stamp-html.in
58 $(mkinstalldirs) $(htmldir)
59 cd $(srcdir); for i in become_*.html; do \
60 $(INSTALL_DATA) $$i $(htmldir)/$$i; \
61 done
62
63uninstall-local:
64 rm -f $(htmldir)/become_*.html
65
66MAINTAINERCLEANFILES = \
67 $(srcdir)/stamp-html.in $(srcdir)/become_*.html \
68 $(srcdir)/become.info*
8b580399 69
70##----- That's all, folks ---------------------------------------------------