From: Sven Eden Date: Wed, 7 Jun 2017 10:08:26 +0000 (+0200) Subject: Prep v230: Remove possibly existing header symlinks before creating new ones. X-Git-Tag: v231.3~134 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=e1a3886b1048af543e67f4af0c02bb8d0abb9ca9;ds=sidebyside Prep v230: Remove possibly existing header symlinks before creating new ones. --- 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