chiark / gitweb /
Prep v230: Remove possibly existing header symlinks before creating new ones.
authorSven Eden <yamakuzure@gmx.net>
Wed, 7 Jun 2017 10:08:26 +0000 (12:08 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
Makefile.am

index bf90824..45b6447 100644 (file)
@@ -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