diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2008-12-30 23:45:56 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2008-12-30 23:45:56 +0100 |
commit | c030990c6c51f18f465d5a3e48c6afe7b4ce4036 (patch) | |
tree | b7ab4b14d83abb1d88c69cf119f56cf4e9f8ba0d /include | |
parent | 0fdad2b7fc9f37144950bccddbbfe9b22f115042 (diff) | |
download | acl-c030990c6c51f18f465d5a3e48c6afe7b4ce4036.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>
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/Makefile b/include/Makefile index f2eca14..e923bc0 100644 --- a/include/Makefile +++ b/include/Makefile @@ -9,10 +9,10 @@ HFILES = acl.h libacl.h acl_ea.h misc.h walk_tree.h LSRCFILES = builddefs.in buildmacros buildrules config.h.in LDIRT = sys acl -default: - rm -f sys acl - $(LN_S) . sys - $(LN_S) . acl +sys acl: + $(LN_S) . $@ + +default: sys acl include $(BUILDRULES) @@ -22,4 +22,5 @@ install-dev: default $(INSTALL) -m 644 acl.h $(PKG_INC_DIR)/sys/acl.h $(INSTALL) -m 755 -d $(PKG_INC_DIR)/acl $(INSTALL) -m 644 libacl.h $(PKG_INC_DIR)/acl/libacl.h + install install-lib: |