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.
.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