From 88a5b5129273b0504c82b4d20c1f2d23be6c07e0 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Tue, 15 Feb 2022 15:37:21 +0900 Subject: [PATCH] Makefile: Point symlinks to correct location The symlinks created during foundry installation point into the build root that was used during package build, making the symlinks unusable. This commit changes the Makefile so that the symlinks point to the correct locations. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f8f6dd7..46366cf 100644 --- a/Makefile +++ b/Makefile @@ -19,11 +19,11 @@ install: find $(DESTDIR)$(PREFIX)/share/foundry -type d -exec chmod 755 {} \; find $(DESTDIR)$(PREFIX)/share/foundry -type f -exec chmod 644 {} \; find $(DESTDIR)$(PREFIX)/share/foundry/bots -type f -exec chmod 755 {} \; - ln -s $(DESTDIR)$(PREFIX)/share/foundry/bots/buildbot.sh $(DESTDIR)$(PREFIX)/bin/buildbot - ln -s $(DESTDIR)$(PREFIX)/share/foundry/bots/distbot.sh $(DESTDIR)$(PREFIX)/bin/distbot - ln -s $(DESTDIR)$(PREFIX)/share/foundry/bots/signbot.sh $(DESTDIR)$(PREFIX)/bin/signbot - ln -s $(DESTDIR)$(PREFIX)/share/foundry/bots/watchbot.sh $(DESTDIR)$(PREFIX)/bin/watchbot - ln -s $(DESTDIR)$(PREFIX)/share/foundry/include/foundry $(DESTDIR)$(PREFIX)/share/toolbox/include/foundry + ln -s $(PREFIX)/share/foundry/bots/buildbot.sh $(DESTDIR)$(PREFIX)/bin/buildbot + ln -s $(PREFIX)/share/foundry/bots/distbot.sh $(DESTDIR)$(PREFIX)/bin/distbot + ln -s $(PREFIX)/share/foundry/bots/signbot.sh $(DESTDIR)$(PREFIX)/bin/signbot + ln -s $(PREFIX)/share/foundry/bots/watchbot.sh $(DESTDIR)$(PREFIX)/bin/watchbot + ln -s $(PREFIX)/share/foundry/include/foundry $(DESTDIR)$(PREFIX)/share/toolbox/include/foundry uninstall: rm $(DESTDIR)$(PREFIX)/bin/buildbot -- 2.47.3