diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2017-01-12 14:56:52 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-12 14:56:52 +0100 |
| commit | 7bb2b10cd01a076d7d5e964ed433e62846042859 (patch) | |
| tree | d1d6958d31e2814f1969d23417e8fec8da8bf575 /configure.ac | |
| parent | a91740655c8d18cd1b266d4d5719146cfeaf400d (diff) | |
etc: Add 'indent-package.el' script.
* configure.ac: Check for 'emacs', substitute 'EMACS', and emit
'etc/indent-package.el'.
* etc/indent-package.el.in: New file.
* doc/contributing.texi (Formatting Code): Mention
'etc/indent-package.el'.
(Submitting Patches): Likewise, and link to the above node.
Co-authored-by: Alex Kost <alezost@gmail.com>
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 676f600111e..f628fa9d0d2 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -232,6 +232,10 @@ AM_MISSING_PROG([DOT], [dot]) | |||
| 232 | dnl Manual pages. | 232 | dnl Manual pages. |
| 233 | AM_MISSING_PROG([HELP2MAN], [help2man]) | 233 | AM_MISSING_PROG([HELP2MAN], [help2man]) |
| 234 | 234 | ||
| 235 | dnl Emacs (optional), for 'etc/indent-package.el'. | ||
| 236 | AC_PATH_PROG([EMACS], [emacs], [/usr/bin/emacs]) | ||
| 237 | AC_SUBST([EMACS]) | ||
| 238 | |||
| 235 | AC_CONFIG_FILES([Makefile | 239 | AC_CONFIG_FILES([Makefile |
| 236 | po/guix/Makefile.in | 240 | po/guix/Makefile.in |
| 237 | po/packages/Makefile.in | 241 | po/packages/Makefile.in |
| @@ -241,5 +245,6 @@ AC_CONFIG_FILES([scripts/guix], [chmod +x scripts/guix]) | |||
| 241 | AC_CONFIG_FILES([test-env:build-aux/test-env.in], [chmod +x test-env]) | 245 | AC_CONFIG_FILES([test-env:build-aux/test-env.in], [chmod +x test-env]) |
| 242 | AC_CONFIG_FILES([pre-inst-env:build-aux/pre-inst-env.in], | 246 | AC_CONFIG_FILES([pre-inst-env:build-aux/pre-inst-env.in], |
| 243 | [chmod +x pre-inst-env]) | 247 | [chmod +x pre-inst-env]) |
| 248 | AC_CONFIG_FILES([etc/indent-package.el], [chmod +x etc/indent-package.el]) | ||
| 244 | 249 | ||
| 245 | AC_OUTPUT | 250 | AC_OUTPUT |
