[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/05: doc/doc.am: Fix code ("brace") style nits.
From: |
G. Branden Robinson |
Subject: |
[groff] 02/05: doc/doc.am: Fix code ("brace") style nits. |
Date: |
Sun, 3 Apr 2022 12:24:10 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit a185cb3f1841ec5b040715e986aeb0bde8c3b95c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Apr 3 21:18:51 2022 +1000
doc/doc.am: Fix code ("brace") style nits.
* doc/doc.am (dist-info-bits, install_infodoc, dist-gnueps): Fix code
style nit: use consistent "brace style" in conditionals and loops.
---
ChangeLog | 6 ++++++
doc/doc.am | 18 ++++++------------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2ea21b62..84d6deda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-04-03 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * doc/doc.am (dist-info-bits, install_infodoc, dist-gnueps): Fix
+ code style nit: use consistent "brace style" in conditionals and
+ loops.
+
2022-04-01 G. Branden Robinson <g.branden.robinson@gmail.com>
* doc/doc.am (mostlyclean_doc): When cleaning, try harder to
diff --git a/doc/doc.am b/doc/doc.am
index 777f2ec8..39e4c630 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -485,10 +485,8 @@ doc/groff.info: $(doc_srcdir)/groff.texi
dist-hook: dist-info-bits
dist-info-bits:
chmod u+w $(distdir)/doc
- for d in $(doc_builddir) $(doc_srcdir); \
- do \
- if [ -f "$$d"/groff.info ]; \
- then \
+ for d in $(doc_builddir) $(doc_srcdir); do \
+ if [ -f "$$d"/groff.info ]; then \
cp -f "$$d"/groff.info-* $(distdir)/doc; \
fi; \
break; \
@@ -588,10 +586,8 @@ install_infodoc: doc/groff.info
-test -d $(DESTDIR)$(infodir) \
|| $(mkinstalldirs) $(DESTDIR)$(infodir)
$(RM) $(DESTDIR)/doc/groff.info*
- for d in $(doc_builddir) $(doc_srcdir); \
- do \
- if [ -f "$$d"/groff.info ]; \
- then \
+ for d in $(doc_builddir) $(doc_srcdir); do \
+ if [ -f "$$d"/groff.info ]; then \
cp "$$d"/groff.info* $(DESTDIR)$(infodir); \
$(INSTALL_INFO) --info-file="$$d"/groff.info \
--info-dir=$(DESTDIR)$(infodir); \
@@ -656,10 +652,8 @@ $(DOC_GNU_EPS): doc/gnu.xpm
dist-hook: dist-gnueps
dist-gnueps:
chmod u+w $(distdir)/doc
- for d in $(doc_builddir) $(doc_srcdir); \
- do \
- if [ -f "$$d"/$(DOC_GNU_EPS) ]; \
- then \
+ for d in $(doc_builddir) $(doc_srcdir); do \
+ if [ -f "$$d"/$(DOC_GNU_EPS) ]; then \
cp -f "$$d"/$(DOC_GNU_EPS) $(distdir)/doc; \
fi; \
break; \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/05: doc/doc.am: Fix code ("brace") style nits.,
G. Branden Robinson <=