diff --git a/Makefile b/Makefile index 44f94d493..1943fabe8 100644 --- a/Makefile +++ b/Makefile @@ -73,8 +73,8 @@ install: default install -m 755 generate $(DESTDIR)/$(ROOTLIBEXECDIR)/netplan/ find netplan/ -name '*.py' -exec install -Dm 644 "{}" "$(DESTDIR)/$(DATADIR)/netplan/{}" \; install -m 755 src/netplan.script $(DESTDIR)/$(DATADIR)/netplan/ - ln -sr $(DESTDIR)/$(DATADIR)/netplan/netplan.script $(DESTDIR)/$(SBINDIR)/netplan - ln -sr $(DESTDIR)/$(ROOTLIBEXECDIR)/netplan/generate $(DESTDIR)/$(SYSTEMD_GENERATOR_DIR)/netplan + ln -srf $(DESTDIR)/$(DATADIR)/netplan/netplan.script $(DESTDIR)/$(SBINDIR)/netplan + ln -srf $(DESTDIR)/$(ROOTLIBEXECDIR)/netplan/generate $(DESTDIR)/$(SYSTEMD_GENERATOR_DIR)/netplan install -m 644 doc/*.html $(DESTDIR)/$(DOCDIR)/netplan/ install -m 644 examples/*.yaml $(DESTDIR)/$(DOCDIR)/netplan/examples/ install -m 644 doc/*.5 $(DESTDIR)/$(MANDIR)/man5/