groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/11: doc/doc.am: Trivially refactor.


From: G. Branden Robinson
Subject: [groff] 02/11: doc/doc.am: Trivially refactor.
Date: Wed, 6 Apr 2022 13:08:20 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 52713f330320e8e723f2417783fca368a8575098
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Apr 6 00:55:41 2022 +1000

    doc/doc.am: Trivially refactor.
    
    * doc/doc.am: Trivially refactor.
      (doc/webpage.html): Tidy up dependency list.  Create directory using
      the same macro interpolation we use to change into it.
---
 ChangeLog  | 6 ++++++
 doc/doc.am | 8 +++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5d5c3aaf..8d536271 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,12 @@
        (uninstall-html): Drop superfluous `-r` flag; we're only
        deleting files with this command, not directories.
 
+2022-04-05  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * doc/doc.am: Trivially refactor.
+       (doc/webpage.html): Tidy up dependency list.  Create directory
+       using the same macro interpolation we use to change into it.
+
 2022-04-05  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * doc/doc.am: Refactor and fix error in builds in remote
diff --git a/doc/doc.am b/doc/doc.am
index 6ede6294..0968be31 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -350,11 +350,9 @@ doc/webpage.html: $(bin_PROGRAMS) $(prefixexecbin_PROGRAMS)
 doc/webpage.html: doc/examples.stamp
 doc/webpage.html: $(dist_devpsfont_DATA) $(nodist_devpsfont_DATA)
 doc/webpage.html: $(devhtmlfont_DATA)
-doc/webpage.html: \
-  $(doc_srcdir)/webpage.ms \
-  $(DOC_GNU_EPS) \
-  $(doc_srcdir)/groff.css
-       $(GROFF_V)$(MKDIR_P) doc \
+doc/webpage.html: $(DOC_GNU_EPS) $(doc_srcdir)/groff.css
+doc/webpage.html: $(doc_srcdir)/webpage.ms
+       $(GROFF_V)$(MKDIR_P) $(doc_builddir) \
        && cd $(doc_builddir) \
        && nlinit=`echo 'nl="'; echo '"'`; eval "$$nlinit"; \
          $(DOC_SED) -e "1i\\$$nl.lf 1 $(doc_srcdir)/webpage.ms$$nl" \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]