summaryrefslogtreecommitdiff
path: root/font/devhtml
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-05-01 02:47:03 +1000
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-05-02 01:22:50 +1000
commit4de4ca940930ccc67c60db85eabda68d1ef873ff (patch)
tree52e953188d680545d00428a72dfd82180b8eaac9 /font/devhtml
parent46321cffe2dd937011f74fa5260e1a27e7312b29 (diff)
downloadgroff-git-4de4ca940930ccc67c60db85eabda68d1ef873ff.tar.gz
[build]: Fix code style nits in Automake files.
* doc/doc.am: Put spaces around (Auto)make variable assignments, for consistency with the rest of this .am file, and our others. * font/devpdf/devpdf.am (font/devpdf/build_font_files): Use shell '>' operator instead of touch(1). * font/devhtml/devhtml.am (font/devhtml/DESC): * font/devps/devps.am (font/devps/DESC): Construct target in temporary file, since doing so is a multi-step process, moving it to the target name when it is complete and usable by dependencies. Also fix indentation and trailing whitespace nits.
Diffstat (limited to 'font/devhtml')
-rw-r--r--font/devhtml/devhtml.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/font/devhtml/devhtml.am b/font/devhtml/devhtml.am
index d8f208821..49194ddb7 100644
--- a/font/devhtml/devhtml.am
+++ b/font/devhtml/devhtml.am
@@ -44,13 +44,15 @@ $(DEVHTMLFONTSFILES): $(devhtml_srcdir)/R.proto
$(AM_V_GEN)$(MKDIR_P) `dirname $@` \
&& $(RM) $@ \
&& $(SHELL) $(GENFONTSSH) $(devhtml_srcdir)/R.proto \
- $(DEVHTMLRES) $(DEVHTMLCPI) `basename $@` > $@
+ $(DEVHTMLRES) $(DEVHTMLCPI) `basename $@` >$@
font/devhtml/DESC: $(devhtml_srcdir)/DESC.proto
$(AM_V_GEN)$(MKDIR_P) `dirname $@` \
&& $(SHELL) $(GENDESCSH) $(devhtml_srcdir)/DESC.proto \
- $(DEVHTMLRES) $(DEVHTMLCPI) $(DEVHTMLLPI) $(DEVHTMLFONTS) > $@ \
- && echo "image_generator $(GHOSTSCRIPT)" >> $@
+ $(DEVHTMLRES) $(DEVHTMLCPI) $(DEVHTMLLPI) $(DEVHTMLFONTS) \
+ > $@.tmp \
+ && echo "image_generator $(GHOSTSCRIPT)" >>$@.tmp \
+ && mv $@.tmp $@
# Local Variables: