1DISTCLEANFILES=\
2  config.status \
3  config.log \
4  config.cache \
5  stamp-h \
6  Makefile \
7  test-groff \
8  src/include/config.h \
9  site.exp \
10  site.bak \
11  groff.sum \
12  groff.log
13CLEANADD=Makefile.cfg conftest*
14
15distfiles: configure
16
17$(scrdir)/configure: configure.ac aclocal.m4
18	cd $(srcdir) && autoconf
19
20config.status: configure
21	$(SHELL) config.status --recheck
22
23# autoheader might not change config.hin, so touch a stamp file.
24$(srcdir)/config.hin: stamp-h.in
25$(srcdir)/stamp-h.in: configure.ac aclocal.m4
26	cd $(srcdir) && autoheader
27	echo timestamp > $(srcdir)/stamp-h.in
28     
29config.h: stamp-h
30stamp-h: config.hin config.status
31	$(SHELL) config.status
32
33# Always create the site-font directory as a guide to the user.
34install_data:
35	-test -d $(localfontdir) || $(mkinstalldirs) $(localfontdir)
36