* Makefile.am (version.texi): Override automake's rule for
[bpt/guile.git] / doc / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ##
3 ## Copyright (C) 1998 Free Software Foundation, Inc.
4 ##
5 ## This file is part of GUILE.
6 ##
7 ## GUILE is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as
9 ## published by the Free Software Foundation; either version 2, or
10 ## (at your option) any later version.
11 ##
12 ## GUILE is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU General Public
18 ## License along with GUILE; see the file COPYING. If not, write
19 ## to the Free Software Foundation, Inc., 59 Temple Place, Suite
20 ## 330, Boston, MA 02111-1307 USA
21 info_TEXINFOS = data-rep.texi
22 data_rep_TEXINFOS = data-rep.texi version.texi
23
24 # This rule overrides automake's rule for version.texi. It causes
25 # version.texi to be created even in non-maintainer-mode.
26 #
27 $(srcdir)/version.texi: stamp-vti
28 @:
29
30 EXAMPLE_SMOB_FILES = \
31 ChangeLog Makefile README COPYING image-type.c image-type.h myguile.c
32
33 OLDFMT = oldfmt.c
34
35 dist-hook:
36 mkdir $(distdir)/example-smob
37 (cd $(srcdir); \
38 cp $(OLDFMT) $(distdir); \
39 dest="`cd $(distdir)/example-smob; pwd`"; \
40 cd example-smob; \
41 cp $(EXAMPLE_SMOB_FILES) $$dest)