--- Makefile.conf.orig 2016-08-01 12:39:16 UTC +++ Makefile.conf @@ -164,7 +164,8 @@ install: $(INSTALL) install_scid: all_scid install -m 755 -d "$(DESTDIR)$(SHAREDIR)" install -m 755 -d "$(DESTDIR)$(BINDIR)" - install -m 755 $(SCRIPTS) $(EXECS) "$(DESTDIR)$(BINDIR)" + install -m 755 $(SCRIPTS) "$(DESTDIR)$(BINDIR)" + install -s $(EXECS) "$(DESTDIR)$(BINDIR)" rm -f "$(DESTDIR)$(BINDIR)/scid" @echo "#!/bin/sh" > "$(DESTDIR)$(BINDIR)/scid" @echo 'exec "$(BINDIR)/tkscid" "$(SHAREDIR)/tcl/start.tcl" "$$@"' >> "$(DESTDIR)$(BINDIR)/scid" @@ -172,7 +173,7 @@ install_scid: all_scid chmod +x "$(DESTDIR)$(BINDIR)/scid" install -m 644 -p scid.eco "$(DESTDIR)$(SHAREDIR)" install -m 755 -d "$(DESTDIR)$(SHAREDIR)/books" - install -m 666 ./books/*.* "$(DESTDIR)$(SHAREDIR)/books/" + install -m 644 ./books/*.* "$(DESTDIR)$(SHAREDIR)/books/" install -m 755 -d "$(DESTDIR)$(SHAREDIR)/bases" if test -d ./bases; then install -m 666 ./bases/*.* "$(DESTDIR)$(SHAREDIR)/bases/" ; fi install -m 755 -d "$(DESTDIR)$(SHAREDIR)/html" @@ -185,9 +186,9 @@ install_scid: all_scid install_engines: all_engines install -m 755 -d "$(DESTDIR)$(SHAREDIR)/engines" install -m 755 -d "$(DESTDIR)$(SHAREDIR)/engines/phalanx-scid" - install ./engines/phalanx-scid/phalanx-scid "$(DESTDIR)$(SHAREDIR)/engines/phalanx-scid" + install -s ./engines/phalanx-scid/phalanx-scid "$(DESTDIR)$(SHAREDIR)/engines/phalanx-scid" install_mac: all install -m 755 -d dist/Scid.app/Contents/MacOS