From: Matthias Kruk Date: Tue, 15 Feb 2022 06:37:21 +0000 (+0900) Subject: Makefile: Point symlinks to correct location X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=88a5b5129273b0504c82b4d20c1f2d23be6c07e0;p=foundry 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. --- 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