summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-01-30 22:24:17 +0100
committerPaul Eggert <eggert@cs.ucla.edu>2023-01-30 14:56:50 -0800
commite64e499dc4a5fda374057784168187630cd99f2f (patch)
treea487b48e409c8526ddc3181edc7de3741727f9b6
parentebe613c495afee10fd5de637a3eff1a20c184dcd (diff)
downloadgzip-e64e499dc4a5fda374057784168187630cd99f2f.tar.gz
Fix "make check" in a subdirectory (VPATH build).
* Makefile.am (gzip.doc): Generate gzip.doc in the source directory, not in the build directory.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 25b2042..3a7dfea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -86,7 +86,7 @@ version.h: Makefile
gzip.doc: gzip.1
$(AM_V_GEN)groff -man -Tascii $(srcdir)/gzip.1 | col -b | uniq > $@-t \
- && mv $@-t $@
+ && mv $@-t $(srcdir)/gzip.doc
gzip.doc.gz: gzip.doc $(bin_PROGRAMS)
$(AM_V_GEN)./gzip < $(srcdir)/gzip.doc >$@-t && mv $@-t $@