[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 49/54: Fix building with "make distcheck".
From: |
Keith Marshall |
Subject: |
[groff] 49/54: Fix building with "make distcheck". |
Date: |
Sat, 23 Oct 2021 16:57:36 -0400 (EDT) |
keithmarshall pushed a commit to branch dev-gropdf-boxes
in repository groff.
commit 4ca4618d36dc5623d9b27c6eb1e6d57065e27325
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Apr 18 15:40:18 2021 +1000
Fix building with "make distcheck".
Lo and behold, a new application of "test-groff" arises...
---
BRANCH-TODO | 1 -
contrib/sboxes/sboxes.am | 7 +++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/BRANCH-TODO b/BRANCH-TODO
index ea6f3dc..d24e76b 100644
--- a/BRANCH-TODO
+++ b/BRANCH-TODO
@@ -5,7 +5,6 @@ $ git rebase master
Resolve the following issues.
-* Get it building with 'make distcheck'.
* Style-tweak the new document msboxes.pdf.
- Use BI in title.
- Recast language to time-proof it (avoid "recent").
diff --git a/contrib/sboxes/sboxes.am b/contrib/sboxes/sboxes.am
index e362467..01bc0ce 100644
--- a/contrib/sboxes/sboxes.am
+++ b/contrib/sboxes/sboxes.am
@@ -15,6 +15,7 @@ dist_sboxesexample_DATA = $(SBOXES_EXAMPLEFILES)
SBOXES_PROCESSEDEXAMPLEFILES = contrib/sboxes/msboxes.pdf
sboxesprocessedexampledir = $(exampledir)/sboxes
nodist_sboxesprocessedexample_DATA = $(SBOXES_PROCESSEDEXAMPLEFILES)
+MOSTLYCLEANFILES += $(SBOXES_PROCESSEDEXAMPLEFILES)
else
EXTRA_DIST += $(SBOXES_EXAMPLEFILES)
endif
@@ -22,9 +23,11 @@ endif
$(SBOXES_PROCESSEDEXAMPLEFILES): $(SBOXES_NORMAL_FILES) \
groff troff gropdf font/devpdf/build_font_files
-contrib/sboxes/msboxes.pdf:
+TEST_GROFF=$(top_builddir)/test-groff
+
+contrib/sboxes/msboxes.pdf: $(sboxes_srcdir)/msboxes.ms $(TEST_GROFF)
mkdir -p $(top_builddir)/contrib/sboxes/
- $(top_builddir)/groff $(SBOXES_FLAGS) $(sboxes_srcdir)/msboxes.ms > $@
+ $(TEST_GROFF) $(SBOXES_FLAGS) $(sboxes_srcdir)/msboxes.ms > $@
uninstall_groffdirs: uninstall_sboxes
uninstall_sboxes:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 49/54: Fix building with "make distcheck".,
Keith Marshall <=