groff-commit
[Top][All Lists]
Advanced

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

[groff] 05/05: doc/doc.am: Clean generated doc files better.


From: G. Branden Robinson
Subject: [groff] 05/05: doc/doc.am: Clean generated doc files better.
Date: Sun, 3 Apr 2022 12:24:11 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit aa56c03f6dc56d2c7029327e1d3065665546a8d3
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Apr 4 01:27:01 2022 +1000

    doc/doc.am: Clean generated doc files better.
    
    * doc/doc.am: Clean generated doc files better.  doc/me*.me were getting
      left behind in the build tree.
    
      (MOSTLYCLEANFILES): Add `GENERATEDDOCFILES`.  This includes
      `DOC_GNU_EPS`, so...
    
      (clean_maintdoc): Drop phony target that manually removes it.
    
      (maintainer-clean-local): Drop dependency on foregoing.
---
 ChangeLog  | 9 +++++++++
 doc/doc.am | 6 ++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 167b1df2..0a715018 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-04-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * doc/doc.am: Clean generated doc files better.  doc/me*.me were
+       getting left behind in the build tree.
+       (MOSTLYCLEANFILES): Add `GENERATEDDOCFILES`.  This includes
+       `DOC_GNU_EPS`, so...
+       (clean_maintdoc): Drop phony target that manually removes it.
+       (maintainer-clean-local): Drop dependency on foregoing.
+
 2022-04-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/devices/xditview/xditview.am (install_xditview)
diff --git a/doc/doc.am b/doc/doc.am
index 1328d1d9..12b92844 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -79,7 +79,7 @@ PROCESSEDDOCFILES = $(PROCESSEDDOCFILES_PS) \
 otherdocdir = $(docdir)
 dist_otherdoc_DATA = $(DOCFILES_INST) $(GENERATEDDOCFILES)
 nodist_otherdoc_DATA = $(PROCESSEDDOCFILES)
-MOSTLYCLEANFILES += $(PROCESSEDDOCFILES)
+MOSTLYCLEANFILES += $(GENERATEDDOCFILES) $(PROCESSEDDOCFILES)
 else
 EXTRA_DIST += $(DOCFILES_INST) $(GENERATEDDOCFILES)
 endif
@@ -574,7 +574,7 @@ doc_html: doc/groff.html
 install-doc: install-pdf install-html
 
 distclean-local: clean_infodoc clean_otherdoc
-maintainer-clean-local: clean_infodoc clean_otherdoc clean_maintdoc
+maintainer-clean-local: clean_infodoc clean_otherdoc
 clean_infodoc:
        -$(RM) $(doc_builddir)/groff.info*
        -$(RM) $(doc_builddir)/groff.pdf
@@ -583,8 +583,6 @@ clean_infodoc:
 clean_otherdoc:
        -cd $(doc_builddir) && \
          $(RM) -r *.pdf *.html *.txt *.dvi *.t2p *.t2d
-clean_maintdoc:
-       -$(RM) $(DOC_GNU_EPS)
 
 install-data-local: install_infodoc
 install_infodoc: doc/groff.info



reply via email to

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