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>
LSRCFILES += command.h input.h path.h project.h
LDIRT = xfs disk
-default install :
- rm -f xfs disk
- $(LN_S) . xfs
- $(LN_S) . disk
+xfs disk:
+ $(LN_S) . $@
+
+default install: xfs disk
include $(BUILDRULES)