diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-08-29 16:22:38 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-08-30 15:22:00 +0200 |
commit | c81ac64ce71cca4ef268429bcf57f341e6a25bc3 (patch) | |
tree | 0d26c17f83d00340c7011c22c457d2a02fce43cb /man | |
parent | a5493c59d6a6e310858342b1de673f55595fa775 (diff) | |
download | coreutils-c81ac64ce71cca4ef268429bcf57f341e6a25bc3.tar.xz |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 3d6a963ac..ff1c1ab93 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 \ |