summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-13 05:55:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-13 05:55:45 +0100
commit783162123dbac43d5b7a3fab9d4f11dcf86d06e1 (patch)
tree4547bb18f146d270f54429eaa419e3fa73c024a7 /Makefile.am
parentman: Document the actual behaviour of ExecStopPost (diff)
downloadsystemd-783162123dbac43d5b7a3fab9d4f11dcf86d06e1.tar.xz
systemd-783162123dbac43d5b7a3fab9d4f11dcf86d06e1.zip
build-sys: use -f with ln -s
Parallel builds would sometimes try to recreate the link, and fail since 'ln -s' would refuse to overwrite.
Diffstat (limited to '')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index cfcca7c88b..b6d330696a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -177,7 +177,7 @@ define move-to-rootlibdir
$(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
so_img_name=$$(readlink $(DESTDIR)$(libdir)/$$libname) && \
so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
- ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
+ $(LN_S) -f $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/$$libname && \
mv $(DESTDIR)$(libdir)/$$libname.* $(DESTDIR)$(rootlibdir); \
fi
endef
@@ -3711,7 +3711,7 @@ man/%.html: man/%.xml man/custom-html.xsl
$(XSLTPROC_PROCESS_HTML)
define html-alias
- $(AM_V_LN)$(LN_S) $(notdir $<) $@
+ $(AM_V_LN)$(LN_S) -f $(notdir $<) $@
endef
endif