-# Copyright (C) 2014-2018 Free Software Foundation, Inc.
-#
-# Last update: 13 Aug 2015
+# Copyright (C) 2014-2020 Free Software Foundation, Inc.
#
# This file is part of 'groff'.
#
$(AM_V_GEN)$(MKDIR_P) `dirname $@` \
&& $(RM) $@ \
&& $(SHELL) $(GENFONTSSH) $(devutf8_srcdir)/R.proto \
- $(DEVUTF8RES) $(DEVUTF8CPI) `basename $@` > $@
+ $(DEVUTF8RES) $(DEVUTF8CPI) `basename $@` >$@
font/devutf8/DESC: $(devutf8_srcdir)/DESC.proto
$(AM_V_GEN)$(MKDIR_P) `dirname $@` \
&& $(SHELL) $(GENDESCSH) $(devutf8_srcdir)/DESC.proto \
- $(DEVUTF8RES) $(DEVUTF8CPI) $(DEVUTF8LPI) $(DEVUTF8FONTS) > $@
+ $(DEVUTF8RES) $(DEVUTF8CPI) $(DEVUTF8LPI) $(DEVUTF8FONTS) >$@
+
+# (UTF-8-encoded) text documents to be produced by troff should depend
+# on this stamp file to ensure that grotty's device and font description
+# files are available.
+MOSTLYCLEANFILES += font/devutf8/stamp
+font/devutf8/stamp: font/devutf8/DESC $(DEVUTF8FONTSFILES)
+ $(AM_V_at)>$@
-########################################################################
-# Editor settings
-########################################################################
-#
# Local Variables:
# mode: makefile-automake
# fill-column: 72
# End:
-# vim: set filetype=automake textwidth=72:
+# vim: set autoindent filetype=automake textwidth=72: