1 # Copyright (C) 1989-2014 Free Software Foundation, Inc.
2 # Written by James Clark (jjc@jclark.com)
4 # This file is part of groff.
6 # groff is free software; you can redistribute it and/or modify it under
7 # the terms of the GNU General Public License as published by the Free
8 # Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
12 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28 src/include/config.h \
39 $(srcdir)/m4/ax_compare_version.m4 \
40 $(srcdir)/m4/ax_prog_perl_version.m4 \
41 $(srcdir)/m4/codeset.m4 \
42 $(srcdir)/m4/fcntl-o.m4 \
43 $(srcdir)/m4/glibc21.m4 \
44 $(srcdir)/m4/groff.m4 \
45 $(srcdir)/m4/iconv.m4 \
46 $(srcdir)/m4/lib-ld.m4 \
47 $(srcdir)/m4/lib-link.m4 \
48 $(srcdir)/m4/lib-prefix.m4 \
49 $(srcdir)/m4/localcharset.m4
53 $(srcdir)/configure: configure.ac $(srcdir)/aclocal.m4
54 cd $(srcdir) && autoconf && rm -rf autom4te.cache
56 $(srcdir)/aclocal.m4: $(M4MACROS)
57 cd $(srcdir) && aclocal -I m4
59 config.status: configure
60 $(SHELL) config.status --recheck
62 # autoheader might not change config.hin, so touch a stamp file.
63 $(srcdir)/config.hin: stamp-h.in
64 $(srcdir)/stamp-h.in: configure.ac $(srcdir)/aclocal.m4
65 cd $(srcdir) && autoheader
66 echo timestamp > $(srcdir)/stamp-h.in
69 stamp-h: config.hin config.status
70 $(SHELL) config.status
72 # Always create the site-font directory as a guide to the user.
74 -test -d $(DESTDIR)$(localfontdir) \
75 || $(mkinstalldirs) $(DESTDIR)$(localfontdir)
77 ########################################################################
79 ########################################################################