Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix symlinks when building a new tree outside the source tree.
[fs/lustre-release.git]
/
lustre
/
ost
/
Makefile.am
diff --git
a/lustre/ost/Makefile.am
b/lustre/ost/Makefile.am
index
5a355b9
..
4189e5f
100644
(file)
--- a/
lustre/ost/Makefile.am
+++ b/
lustre/ost/Makefile.am
@@
-10,9
+10,10
@@
EXTRA_PROGRAMS = ost
LINX=page.c obd_pack.c
obd_pack.c:
LINX=page.c obd_pack.c
obd_pack.c:
- ln -s ../lib/obd_pack.c .
+ test -e obd_pack.c || ln -sf $(top_srcdir)/lib/obd_pack.c
+
page.c:
page.c:
-
ln -s ..
/lib/page.c
+
test -e page.c || ln -sf $(top_srcdir)
/lib/page.c
ost_SOURCES = $(LINX) ost_handler.c
dist-hook:
ost_SOURCES = $(LINX) ost_handler.c
dist-hook: