[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 12/14: Drop "groff_opts_{no,with}_arg.txt".
From: |
G. Branden Robinson |
Subject: |
[groff] 12/14: Drop "groff_opts_{no,with}_arg.txt". |
Date: |
Fri, 4 Jun 2021 16:02:04 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit c069f291b0c910513c28b615eaec81e8a394b9e2
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jun 5 05:17:30 2021 +1000
Drop "groff_opts_{no,with}_arg.txt".
Eliminate "groff_opts_no_arg.txt" and "groff_opts_with_arg.txt" files
from distribution. They are not needed by any live code in the tree;
possibly only groffer ever used them.
* src/roff/groff/groff.am (GROFF_OPTS_OUTPUT, groffoptsdir,
groffopts_DATA): Delete variables.
(MOSTLYCLEANFILES): Stop adding to target.
(groff_opts.tmp, groff_opts_no_arg.txt, groff_opts_with_arg.txt):
Delete targets.
---
.gitignore | 4 ----
ChangeLog | 12 ++++++++++++
src/roff/groff/groff.am | 23 -----------------------
3 files changed, 12 insertions(+), 27 deletions(-)
diff --git a/.gitignore b/.gitignore
index 8fa39b6..98e2397 100644
--- a/.gitignore
+++ b/.gitignore
@@ -51,10 +51,6 @@ stamp-*
/grn
/grodvi
/groff
-/groff_opts.tmp
-/groff_opts_no_arg.txt
-/groff_opts_with_arg.txt
-/groffer
/grog
/grolbp
/grolj4
diff --git a/ChangeLog b/ChangeLog
index f088a18..59a6ac1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2021-06-05 G. Branden Robinson <g.branden.robinson@gmail.com>
+ Eliminate "groff_opts_no_arg.txt" and "groff_opts_with_arg.txt"
+ files from distribution. They are not needed by any live code
+ in the tree; possibly only groffer ever used them.
+
+ * src/roff/groff/groff.am (GROFF_OPTS_OUTPUT, groffoptsdir,
+ groffopts_DATA): Delete variables.
+ (MOSTLYCLEANFILES): Stop adding to target.
+ (groff_opts.tmp, groff_opts_no_arg.txt,
+ groff_opts_with_arg.txt): Delete targets.
+
+2021-06-05 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* src/roff/grog/subs.pl (version): Report version information in
a format consistent with our other programs.
diff --git a/src/roff/groff/groff.am b/src/roff/groff/groff.am
index e0d49a0..e24d336 100644
--- a/src/roff/groff/groff.am
+++ b/src/roff/groff/groff.am
@@ -34,11 +34,6 @@ groff_SOURCES = \
src/roff/groff/groff.$(OBJEXT): defs.h
man1_MANS += src/roff/groff/groff.1
EXTRA_DIST += src/roff/groff/groff.1.man
-GROFF_OPTS_OUTPUT = \
- groff_opts_no_arg.txt \
- groff_opts_with_arg.txt
-groffoptsdir = $(libprogramdir)
-groffopts_DATA = $(GROFF_OPTS_OUTPUT)
groff_TESTS = \
src/roff/groff/tests/adjustment_works.sh \
@@ -68,24 +63,6 @@ groff_XFAIL_TESTS = \
src/roff/groff/tests/string_case_xform_unicode_escape.sh
XFAIL_TESTS += $(groff_XFAIL_TESTS)
-MOSTLYCLEANFILES += groff_opts.tmp $(GROFF_OPTS_OUTPUT)
-
-groff_opts.tmp: src/roff/groff/groff.cpp
- @$(GREP) -e ':.*:.*:' $? | sed -e 's/[ \t",]//g' > $@
- @echo -n 'groff options: '
- @cat $@
-
-groff_opts_no_arg.txt: groff_opts.tmp
- @sed -e 's/[a-zA-Z]://g' $? > $@
- @echo -n 'no arg: '
- @cat $@
-
-groff_opts_with_arg.txt: groff_opts_no_arg.txt
- @rm -f $@
- @sed "s/[`cat $?`:]//g" groff_opts.tmp > $@
- @echo -n 'with arg: '
- @cat $@
-
# Local Variables:
# mode: makefile-automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 12/14: Drop "groff_opts_{no,with}_arg.txt".,
G. Branden Robinson <=