build: Preserve the executable bit of bootstrap binaries.

* Makefile.am (install-data-hook): New target.
This commit is contained in:
Ludovic Courtès 2012-10-27 23:18:08 +02:00
parent b8605698b8
commit 5992f213d7
1 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,11 @@ nodist_bootstrap_x86_64_linux_DATA = \
nodist_bootstrap_i686_linux_DATA = \
distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz
# Those files must remain executable, so they remain executable once
# imported into the store.
install-data-hook:
chmod +x $(DESTDIR)$(bootstrapdir)/*/{bash,mkdir,tar,xz}
DISTCLEANFILES = \
$(nodist_bootstrap_x86_64_linux_DATA) \
$(nodist_bootstrap_i686_linux_DATA)