Switch from using cp to using install to install scripts, and install them 555
to reduce the risk of accidentally changing the installed scripts and not this
repo.
all : install
$(common)/% : %
all : install
$(common)/% : %
+ install -c -m 555 $< $@
$(foreach script,$(scripts),$(foreach arch,$(arches),$(archdir)/$(arch)/bin/$(script))) :
#$(archdir)/*/bin/* :
$(foreach script,$(scripts),$(foreach arch,$(arches),$(archdir)/$(arch)/bin/$(script))) :
#$(archdir)/*/bin/* :