mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
dist: ln(1) is not guaranteed to have a '-f' option
According to the autoconf manual, using '$(LN_S) -f' is not portable; remove the target explicitly beforehand to work around this limitation. Adjust some slightly awkward indentation while at it.
This commit is contained in:
parent
5938f2d0bd
commit
d0062fb9b5
@ -3079,7 +3079,8 @@ if WITH_NETWORK
|
||||
$(DESTDIR)$(confdir)/qemu/networks/default.xml && \
|
||||
rm $(DESTDIR)$(confdir)/qemu/networks/default.xml.t; }
|
||||
( cd $(DESTDIR)$(confdir)/qemu/networks/autostart && \
|
||||
$(LN_S) -f ../default.xml default.xml )
|
||||
rm -f default.xml && \
|
||||
$(LN_S) ../default.xml default.xml )
|
||||
endif WITH_NETWORK
|
||||
|
||||
uninstall-local:: uninstall-init uninstall-systemd
|
||||
|
@ -424,7 +424,8 @@ NSS_SO_VER = 1
|
||||
|
||||
install-exec-hook:
|
||||
( cd $(DESTDIR)$(libdir) && \
|
||||
$(LN_S) -f libnss_libvirt.so.$(NSS_SO_VER) nss_libvirt.so.$(NSS_SO_VER) )
|
||||
rm -f nss_libvirt.so.$(NSS_SO_VER) && \
|
||||
$(LN_S) libnss_libvirt.so.$(NSS_SO_VER) nss_libvirt.so.$(NSS_SO_VER) )
|
||||
|
||||
uninstall-local:
|
||||
-rm -f $(DESTDIR)$(libdir)/nss_libvirt.so.$(NSS_SO_VER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user