From: Stefano Lattarini Date: Wed, 29 Aug 2012 14:22:38 +0000 (+0200) Subject: build: make a rule less dependent on exact source tree layout X-Git-Tag: v8.20~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c81ac64ce71cca4ef268429bcf57f341e6a25bc3;p=thirdparty%2Fcoreutils.git build: make a rule less dependent on exact source tree layout This is mostly a preparatory change in view of future ones. * man/Makefile.am (.x.1): Use '$(abs_top_builddir)/src' to access the 'src' directory. --- diff --git a/man/Makefile.am b/man/Makefile.am index 3d6a963aca..ff1c1ab936 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -168,7 +168,7 @@ mapped_name = `echo $*|sed 's/^install$$/ginstall/; s/^test$$/[/'` && { \ rm -rf $t; \ mkdir $t; \ - (cd $t && $(LN_S) ../../src/$(mapped_name) $*); \ + (cd $t && $(LN_S) $(abs_top_builddir)/src/$(mapped_name) $*); \ $(PERL) -- $(srcdir)/help2man \ --source='$(PACKAGE_STRING)' \ --include=$(srcdir)/$*.x \