groff-commit
[Top][All Lists]
Advanced

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

[groff] 20/27: [build]: Preserve byacc/bison output artifacts.


From: G. Branden Robinson
Subject: [groff] 20/27: [build]: Preserve byacc/bison output artifacts.
Date: Tue, 3 May 2022 14:27:18 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7612ecb5ca916d8aac1f8079bea24921836958d7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon May 2 19:56:45 2022 -0500

    [build]: Preserve byacc/bison output artifacts.
    
    * src/preproc/eqn/eqn.am (MAINTAINERCLEANFILES):
    * src/preproc/pic/pic.am (MAINTAINERCLEANFILES):
    * src/preproc/refer/refer.am (MAINTAINERCLEANFILES): Preserve
      byacc/bison output artifacts unless "maintainer-clean"ing.  Per the
      GNU Automake manual, "The intermediate files generated by yacc (or
      lex) will be included in any distribution that is made.  That way the
      user doesn’t need to have yacc or lex."
---
 ChangeLog                  | 10 ++++++++++
 src/preproc/eqn/eqn.am     |  2 +-
 src/preproc/pic/pic.am     |  2 +-
 src/preproc/refer/refer.am |  2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0b9e5605..52ce4dc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-05-02  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/preproc/eqn/eqn.am (MAINTAINERCLEANFILES):
+       * src/preproc/pic/pic.am (MAINTAINERCLEANFILES):
+       * src/preproc/refer/refer.am (MAINTAINERCLEANFILES): Preserve
+       byacc/bison output artifacts unless "maintainer-clean"ing.  Per
+       the GNU Automake manual, "The intermediate files generated by
+       yacc (or lex) will be included in any distribution that is made.
+       That way the user doesn’t need to have yacc or lex."
+
 2022-05-02  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * Makefile.am: Stop manually handling "test-groff".  Per the
diff --git a/src/preproc/eqn/eqn.am b/src/preproc/eqn/eqn.am
index 30e6b9ad..ed26bc6a 100644
--- a/src/preproc/eqn/eqn.am
+++ b/src/preproc/eqn/eqn.am
@@ -52,7 +52,7 @@ EXTRA_DIST += \
 # Since eqn_CPPFLAGS was set, all .o files have an 'eqn-' prefix.
 src/preproc/eqn/eqn-lex.$(OBJEXT): src/preproc/eqn/eqn.hpp
 
-CLEANFILES += \
+MAINTAINERCLEANFILES += \
   src/preproc/eqn/eqn.hpp \
   src/preproc/eqn/eqn.cpp \
   src/preproc/eqn/eqn.output
diff --git a/src/preproc/pic/pic.am b/src/preproc/pic/pic.am
index 11dccc43..fae13720 100644
--- a/src/preproc/pic/pic.am
+++ b/src/preproc/pic/pic.am
@@ -43,7 +43,7 @@ EXTRA_DIST += \
 # Since pic_CPPFLAGS was set, all .o files have a 'pic-' prefix.
 src/preproc/pic/pic-lex.$(OBJEXT): src/preproc/pic/pic.hpp
 
-CLEANFILES += \
+MAINTAINERCLEANFILES += \
   src/preproc/pic/pic.cpp \
   src/preproc/pic/pic.hpp \
   src/preproc/pic/pic.output
diff --git a/src/preproc/refer/refer.am b/src/preproc/refer/refer.am
index 4685b860..a1d60f28 100644
--- a/src/preproc/refer/refer.am
+++ b/src/preproc/refer/refer.am
@@ -41,7 +41,7 @@ src/preproc/refer/refer-refer.$(OBJEXT): defs.h
 src/preproc/refer/refer-token.$(OBJEXT): defs.h
 src/preproc/refer/refer-label.$(OBJEXT): defs.h
 
-CLEANFILES += \
+MAINTAINERCLEANFILES += \
   src/preproc/refer/label.cpp \
   src/preproc/refer/label.hpp \
   src/preproc/refer/label.output



reply via email to

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