]> git.corax.cc Git - foundry/commitdiff
Makefile: Point symlinks to correct location
authorMatthias Kruk <m@m10k.eu>
Tue, 15 Feb 2022 06:37:21 +0000 (15:37 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 15 Feb 2022 06:37:21 +0000 (15:37 +0900)
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

index f8f6dd735fd5262adf6dc4714cbe895c160ec7cf..46366cf024df0d8d80c3cf2b9ca418771b99450b 100644 (file)
--- 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