[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 14/19: Makefile.am: Add `.DELETE_ON_ERROR` target.
From: |
G. Branden Robinson |
Subject: |
[groff] 14/19: Makefile.am: Add `.DELETE_ON_ERROR` target. |
Date: |
Thu, 16 Sep 2021 08:59:04 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 71e31708e66872ff0a6c3e915713e891c8bc0b3a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Sep 15 11:08:55 2021 +1000
Makefile.am: Add `.DELETE_ON_ERROR` target.
* Makefile.am: Add `.DELETE_ON_ERROR` special target; both GNU and
FreeBSD make(1)s support it so maybe it will be portable enough. This
avoids, among other problems, a target appearing falsely up-to-date
(often as an empty file) when the troff process generating it
experiences an assertion failure.
---
ChangeLog | 8 ++++++++
Makefile.am | 2 ++
2 files changed, 10 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 3eb0f8e..f971653 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-09-15 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * Makefile.am: Add `.DELETE_ON_ERROR` special target; both GNU
+ and FreeBSD make(1)s support it so maybe it will be portable
+ enough. This avoids, among other problems, a target appearing
+ falsely up-to-date (often as an empty file) when the troff
+ process generating it experiences an assertion failure.
+
2021-09-12 G. Branden Robinson <g.branden.robinson@gmail.com>
Since June 1991 if not earlier, groff (technically, the refer,
diff --git a/Makefile.am b/Makefile.am
index 9aea889..bbbe5f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -719,6 +719,8 @@ BUILT_SOURCES += defs.h
# Force generation of test-groff even though we don't ship it.
BUILT_SOURCES += test-groff
+.DELETE_ON_ERROR:
+
# if there is a name prefix we install the man pages by hand
all: generate_man_files
install-data-hook: install-prefix-man
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 14/19: Makefile.am: Add `.DELETE_ON_ERROR` target.,
G. Branden Robinson <=