coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 14/22] build: make some rule less dependent of exact source tree


From: Stefano Lattarini
Subject: [PATCH 14/22] build: make some rule less dependent of exact source tree layout
Date: Wed, 29 Aug 2012 23:54:51 +0200

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 in the coreutils build tree.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 man/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index 3d6a963..ff1c1ab 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                   \
-- 
1.7.12




reply via email to

[Prev in Thread] Current Thread [Next in Thread]