projects/guix·commit e8b3afeb

build: Use separate `AC_CONFIG_FILES' invocations for executable files.

e8b3afeb · Ludovic Courtès <[email protected]> · 2013-05-12 23:26:46 +02:00

* configure.ac: Use separate AC_CONFIG_FILES invocations for files that
  need to be made executable.
* config-daemon.ac: Likewise.
Commit
e8b3afeb9234bca4a455272a6a831d7994d29b96
Parents
f5ebf5c6

Changes

2 files changed · +7 −7

FileStatusAddDelContent
config-daemon.acmodified+4−3View file
configure.acmodified+3−4View file

config-daemon.ac

View file
diff --git a/config-daemon.ac b/config-daemon.ac
index 7c51f2b..5db08d0 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -101,9 +101,10 @@ if test "x$guix_build_daemon" = "xyes"; then
AC_MSG_RESULT([$GUIX_TEST_ROOT])
AC_SUBST([GUIX_TEST_ROOT])
- AC_CONFIG_FILES([nix/scripts/list-runtime-roots
- nix/scripts/substitute-binary],
- [chmod +x nix/scripts/list-runtime-roots nix/scripts/substitute-binary])
+ AC_CONFIG_FILES([nix/scripts/list-runtime-roots],
+ [chmod +x nix/scripts/list-runtime-roots])
+ AC_CONFIG_FILES([nix/scripts/substitute-binary],
+ [chmod +x nix/scripts/substitute-binary])
fi
AM_CONDITIONAL([BUILD_DAEMON], [test "x$guix_build_daemon" = "xyes"])

configure.ac

View file
diff --git a/configure.ac b/configure.ac
index 61cee96..f871552 100644
--- a/configure.ac
+++ b/configure.ac
@@ -120,9 +120,8 @@ AC_CONFIG_FILES([Makefile
po/Makefile.in
guix/config.scm])
-AC_CONFIG_FILES([scripts/guix
- pre-inst-env
- test-env],
- [chmod +x scripts/guix pre-inst-env test-env])
+AC_CONFIG_FILES([scripts/guix], [chmod +x scripts/guix])
+AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
+AC_CONFIG_FILES([test-env], [chmod +x test-env])
AC_OUTPUT