diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2008-12-30 23:49:09 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2008-12-30 23:49:09 +0100 |
commit | 089c5c1feecc388f627b9985e9c141fabb7f8f57 (patch) | |
tree | 5ac4efb377cb8693935a4466c9533625d3b1efa6 | |
parent | 6a9096d0127abb2e63403215ace6245b04ed63f5 (diff) | |
download | dmapi-dev-089c5c1feecc388f627b9985e9c141fabb7f8f57.tar.gz |
fix parallel installs in include/ dirs
This is for http://oss.sgi.com/bugzilla/show_bug.cgi?id=759
"fix parallel issue with include/ symlinks"
Doing something like "make -j2 install install-dev" would lead
to a race of removing & creating symlinks in include/
Thanks to Mike for reporting & suggesting the fix.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r-- | include/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/Makefile b/include/Makefile index 52e466c..8e092d2 100644 --- a/include/Makefile +++ b/include/Makefile @@ -9,9 +9,10 @@ HFILES = dmapi.h LSRCFILES = builddefs.in buildmacros buildrules dmapi_kern.h LDIRT = xfs -default install : - rm -f xfs - $(LN_S) . xfs +xfs: + $(LN_S) . $@ + +default install: xfs include $(BUILDRULES) |