summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-20 10:11:45 +0000
committerJim Meyering <jim@meyering.net>2003-03-20 10:11:45 +0000
commit991e476b56e6dfcb5ef810520e4c882055ac37ec (patch)
tree4b09063cb7590f011f51fcb95aedf2934ff5e9d0 /man
parent8d65951aeab056a8ca3c4b316ddd9331b785f4f1 (diff)
downloadcoreutils-991e476b56e6dfcb5ef810520e4c882055ac37ec.tar.xz
.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
index 3510ad560..c59a09f03 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -79,6 +79,7 @@ LIBS = @LIBS@
LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
LIB_CRYPT = @LIB_CRYPT@
LIB_NANOSLEEP = @LIB_NANOSLEEP@
+LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -466,10 +467,10 @@ yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c
.x.1:
@echo "Updating man page $@"; \
mkdir $t; \
- ln -s ../../src/$(mapped_name) $t/$*; \
+ (cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \
$(HELP2MAN) \
--include=$(srcdir)/$*.x \
- --output=$@ $t/$*; \
+ --output=$@ $t/$*$(EXEEXT); \
rm -rf $t
check-local: check-x-vs-1