Browse Source

build: Preserve the executable bit of bootstrap binaries.

* Makefile.am (install-data-hook): New target.
gn-latest-20200428
Ludovic Courtès 9 years ago
parent
commit
5992f213d7
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Makefile.am

+ 5
- 0
Makefile.am 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)


Loading…
Cancel
Save