* Makefile.in (dist): Don't use soft links but copy files to
[s-roff.git] / Makefile.sub
blob01505150e5f9e1a955989a3856922ad30f3989f8
1 # Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2006
2 #   Free Software Foundation, Inc.
3 #      Written by James Clark (jjc@jclark.com)
4
5 # This file is part of groff.
6
7 # groff is free software; you can redistribute it and/or modify it under
8 # the terms of the GNU General Public License as published by the Free
9 # Software Foundation; either version 2, or (at your option) any later
10 # version.
11
12 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 # for more details.
16
17 # You should have received a copy of the GNU General Public License along
18 # with groff; see the file COPYING.  If not, write to the Free Software
19 # Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
21 # Makefile.sub
23 DISTCLEANFILES=\
24   config.status \
25   config.log \
26   config.cache \
27   stamp-h \
28   Makefile \
29   test-groff \
30   src/include/config.h \
31   site.exp \
32   site.bak \
33   groff.sum \
34   groff.log
35 CLEANADD=Makefile.cfg conftest*
37 M4MACROS = \
38   $(srcdir)/m4/groff.m4 \
39   $(srcdir)/m4/codeset.m4 $(srcdir)/m4/glibc21.m4 \
40   $(srcdir)/m4/iconv.m4 \
41   $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-ld.m4 $(srcdir)/m4/lib-prefix.m4
43 distfiles: configure
45 $(srcdir)/configure: configure.ac $(srcdir)/aclocal.m4
46         cd $(srcdir) && autoconf && rm -rf autom4te.cache
48 $(srcdir)/aclocal.m4: $(M4MACROS)
49         cd $(srcdir) && aclocal -I m4
51 config.status: configure
52         $(SHELL) config.status --recheck
54 # autoheader might not change config.hin, so touch a stamp file.
55 $(srcdir)/config.hin: stamp-h.in
56 $(srcdir)/stamp-h.in: configure.ac $(srcdir)/aclocal.m4
57         cd $(srcdir) && autoheader
58         echo timestamp > $(srcdir)/stamp-h.in
59      
60 config.h: stamp-h
61 stamp-h: config.hin config.status
62         $(SHELL) config.status
64 # Always create the site-font directory as a guide to the user.
65 install_data:
66         -test -d $(DESTDIR)$(localfontdir) \
67           || $(mkinstalldirs) $(DESTDIR)$(localfontdir)