summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/man/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/man/Makefile.in')
-rw-r--r--gnu/usr.bin/cvs/man/Makefile.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/usr.bin/cvs/man/Makefile.in b/gnu/usr.bin/cvs/man/Makefile.in
index 79198fff027..ffc36139e0b 100644
--- a/gnu/usr.bin/cvs/man/Makefile.in
+++ b/gnu/usr.bin/cvs/man/Makefile.in
@@ -35,10 +35,9 @@ man8dir = $(mandir)/man8
all:
.PHONY: all
-# This used to depend on installdirs, but someone took it out (I think
-# maybe it is/was some kind of Cygnus convention to not depend on installdirs;
-# I'm not sure). I don't know what the pro(s) and con(s) are.
-install: all
+# This needs to depend on installdirs so that (for example) the
+# install will not fail if $(prefix)/man/man5 does not yet exist.
+install: all installdirs
for f in $(MAN1FILES); do \
$(INSTALL_DATA) $(srcdir)/$$f $(man1dir)/$$f; \
done