From: Jim Meyering Date: Wed, 19 Mar 2003 23:00:25 +0000 (+0000) Subject: (.x.1): Use $(LN_S) instead of 'ln -s', X-Git-Tag: v4.5.11~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca85f1f9948b9b4d67f154727d15a347253350b1;p=thirdparty%2Fcoreutils.git (.x.1): Use $(LN_S) instead of 'ln -s', because the DJGPP 2.03 port of 'ln -s' doesn't work. Include $(EXEEXT) in program names. Since $(LN_S) may degenerate to `cp -p', be careful to invoke it from the destination directory. Mostly from Richard Dawe. --- diff --git a/man/Makefile.am b/man/Makefile.am index 9e47b4cde0..194c5a9834 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -124,10 +124,10 @@ mapped_name = `echo $*|sed 's/install/ginstall/'` .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