1 # Copyright (C) 1989-2000, 2001-2004, 2006, 2009, 2013
2 # Free Software Foundation, Inc.
3 # Written by James Clark (jjc@jclark.com)
5 # This file is part of groff.
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 3 of the License, or
10 # (at your option) any later version.
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
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29 src/include/config.h \
40 $(srcdir)/m4/codeset.m4 \
41 $(srcdir)/m4/fcntl-o.m4 \
42 $(srcdir)/m4/glibc21.m4 \
43 $(srcdir)/m4/groff.m4 \
44 $(srcdir)/m4/iconv.m4 \
45 $(srcdir)/m4/lib-ld.m4 \
46 $(srcdir)/m4/lib-link.m4 \
47 $(srcdir)/m4/lib-prefix.m4 \
48 $(srcdir)/m4/localcharset.m4
52 $(srcdir)/configure: configure.ac $(srcdir)/aclocal.m4
53 cd $(srcdir) && autoconf && rm -rf autom4te.cache
55 $(srcdir)/aclocal.m4: $(M4MACROS)
56 cd $(srcdir) && aclocal -I m4
58 config.status: configure
59 $(SHELL) config.status --recheck
61 # autoheader might not change config.hin, so touch a stamp file.
62 $(srcdir)/config.hin: stamp-h.in
63 $(srcdir)/stamp-h.in: configure.ac $(srcdir)/aclocal.m4
64 cd $(srcdir) && autoheader
65 echo timestamp > $(srcdir)/stamp-h.in
68 stamp-h: config.hin config.status
69 $(SHELL) config.status
71 # Always create the site-font directory as a guide to the user.
73 -test -d $(DESTDIR)$(localfontdir) \
74 || $(mkinstalldirs) $(DESTDIR)$(localfontdir)