| Revision 543,
484 bytes
checked in by martin, 6 years ago
(diff) |
|
Fix execute permission on substituted perl scripts
|
| Line | |
|---|
| 1 | dnl @synopsis AX_CONFIG_SCRIPTS(SCRIPT_FILE, ...) |
|---|
| 2 | dnl |
|---|
| 3 | dnl Run AC_CONFIG_FILES on a list of scripts while preserving execute |
|---|
| 4 | dnl permission. |
|---|
| 5 | dnl |
|---|
| 6 | dnl @category Automake |
|---|
| 7 | dnl @author Martin Ebourne <martin@zepler.org> |
|---|
| 8 | dnl @script |
|---|
| 9 | dnl @license AllPermissive |
|---|
| 10 | |
|---|
| 11 | AC_DEFUN([AX_CONFIG_SCRIPTS],[ |
|---|
| 12 | AC_REQUIRE([AC_CONFIG_FILES])dnl |
|---|
| 13 | m4_foreach([SCRIPT_FILE], |
|---|
| 14 | m4_quote(m4_split(m4_normalize([$1]))), |
|---|
| 15 | [AC_CONFIG_FILES(SCRIPT_FILE, m4_quote(chmod +x SCRIPT_FILE))])dnl |
|---|
| 16 | ]) |
|---|
Note: See
TracBrowser
for help on using the repository browser.