Update of bug #64681 (project groff):

                Category:                    None => General                
              Item Group:                    None => Build/Installation     
                  Status:                    None => In Progress            
             Assigned to:                    None => gbranden               
                 Summary: Makefile rule for webpage.ps seems to be missing a
dependency on grn in 1.23.0 => doc/doc.am: webpage.ps target missing
dependency on grn

    _______________________________________________________

Follow-up Comment #1:

Thanks for the report.  You're quite right.  There were some additional
oversights in the dependencies of webpage.{ps,html}, so I went ahead and fixed
those too.  I didn't find any others in doc/doc.am.


diff --git a/doc/doc.am b/doc/doc.am
index 50d58057a..c67b2ca16 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -356,6 +356,9 @@ doc/pic.ps: $(doc_srcdir)/pic.ms $(TMAC_PACKAGE_MS) eqn
pic tbl
        $(GROFF_V)$(MKDIR_P) `dirname $@` \
        && $(DOC_GROFF) -pet -Tps -ms $(doc_srcdir)/pic.ms >$@
 
+# groff(1)'s `-I` implies `-g` and `-s`, so we must depend on grn and
+# soelim even though the document doesn't require them.
+doc/webpage.ps: grn soelim
 doc/webpage.ps: $(DOC_GNU_EPS) tmac/www.tmac tbl
 doc/webpage.ps: $(doc_srcdir)/webpage.ms $(TMAC_PACKAGE_MS)
        $(GROFF_V)$(MKDIR_P) `dirname $@` \
@@ -375,11 +378,12 @@ doc/pic.html: $(doc_srcdir)/pic.ms $(TMAC_PACKAGE_MS)
        && $(DOC_GROFF) -pet -P-Ipic -P-Dimg -P-jpic -Thtml -ms \
          $(doc_srcdir)/pic.ms > pic.html
 
-doc/webpage.html: tbl
-doc/webpage.html: tmac/www.tmac
-doc/webpage.html: $(DOC_GNU_EPS)
+# groff(1)'s `-I` implies `-g` and `-s`, so we must depend on grn and
+# soelim even though the document doesn't require them.
+doc/webpage.html: grn soelim
+doc/webpage.html: $(DOC_GNU_EPS) tmac/www.tmac tbl
 doc/webpage.html: $(doc_srcdir)/groff.css
-doc/webpage.html: $(doc_srcdir)/webpage.ms
+doc/webpage.html: $(doc_srcdir)/webpage.ms $(TMAC_PACKAGE_MS)
        $(GROFF_V)$(MKDIR_P) $(doc_builddir) \
        && cd $(doc_builddir) \
        && $(DOC_GROFF) -t -I $(doc_srcdir) -P-jwebpage -P-nrb \





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64681>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to