From ca85f1f9948b9b4d67f154727d15a347253350b1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Mar 2003 23:00:25 +0000 Subject: (.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. --- man/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man/Makefile.am') diff --git a/man/Makefile.am b/man/Makefile.am index 9e47b4cde..194c5a983 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 -- cgit v1.2.3-54-g00ecf