summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-06-07 12:08:26 +0200
committerSven Eden <yamakuzure@gmx.net>2017-06-16 10:12:58 +0200
commite1a3886b1048af543e67f4af0c02bb8d0abb9ca9 (patch)
tree8e5eb5fedacfdbfb61defd5aed4d43f8d8e42b11 /Makefile.am
parent0551641dbdc383bbdaeac4f6cf21ab789a4f98cd (diff)
Prep v230: Remove possibly existing header symlinks before creating new ones.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index bf9082428..45b644759 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -629,6 +629,7 @@ header-install-hook:
$(MKDIR_P) $(DESTDIR)/$(pkgincludedir)
cd $(DESTDIR)/$(includedir)/elogind && \
for hdr in $(notdir $(pkginclude_HEADERS)) ; do \
+ rm -f $$hdr ; \
$(LN_S) systemd/$$hdr $$hdr ; \
done