forked from SLFO-pool/xen
31 lines
870 B
Diff
31 lines
870 B
Diff
--- a/tools/xs-clients/Makefile
|
|
+++ b/tools/xs-clients/Makefile
|
|
@@ -29,7 +29,7 @@ all: $(TARGETS)
|
|
clients: xenstore $(CLIENTS) xenstore-control
|
|
|
|
$(CLIENTS): xenstore
|
|
- ln -f xenstore $@
|
|
+ ln -sf xenstore $@
|
|
|
|
xenstore: xenstore_client.o
|
|
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ $(APPEND_LDFLAGS)
|
|
@@ -54,7 +54,7 @@ install: all
|
|
$(INSTALL_PROG) xenstore-control $(DESTDIR)$(bindir)
|
|
$(INSTALL_PROG) xenstore $(DESTDIR)$(bindir)
|
|
set -e ; for c in $(CLIENTS) ; do \
|
|
- ln -f $(DESTDIR)$(bindir)/xenstore $(DESTDIR)$(bindir)/$${c} ; \
|
|
+ ln -sf xenstore $(DESTDIR)$(bindir)/$${c} ; \
|
|
done
|
|
|
|
.PHONY: uninstall
|
|
--- a/tools/xenstored/Makefile
|
|
+++ b/tools/xenstored/Makefile
|
|
@@ -32,6 +32,7 @@ TAGS:
|
|
install: all
|
|
$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
|
$(INSTALL_PROG) xenstored $(DESTDIR)$(sbindir)
|
|
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|