From 3035fd6142ce3459fb7ba28c2f56a7c44fc47dd5 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 10 Dec 2016 21:59:19 +0100 Subject: [PATCH 1/1] Makefile: make the symlink in BIN_DIR refer to the executable in DESTDIR Also make the symlink relative, this way it is always valid whether DESTDIR is specified or not. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7937d41..0102bc2 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,6 @@ install: installdocs install -d $(DESTDIR)$(TWEEPER_DIR)/src install -m644 src/* $(DESTDIR)$(TWEEPER_DIR)/src install -d $(DESTDIR)$(BIN_DIR) - ln -sf $(TWEEPER_DIR)/tweeper $(DESTDIR)$(BIN_DIR)/tweeper + ln -rsf $(DESTDIR)$(TWEEPER_DIR)/tweeper $(DESTDIR)$(BIN_DIR)/tweeper @echo -e "\n\nINSTALLATION COMPLETE" @echo -e "Make sure '$(PHP_SCRIPT_DIR)' is in PHP include_path!\n" -- 2.1.4