summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <michael@orlitzky.com>2017-07-19 10:02:44 -0400
committerMichael Orlitzky <michael@orlitzky.com>2017-07-19 10:02:44 -0400
commit41fa94bb1977c31b3a280005585187d00df2424e (patch)
tree5de43fbaa0033012dd93983655b9c05db1eea375
parentphp-fpm.example.init.in: use @SYSCONFDIR@ from autotools. (diff)
downloadeselect-php-41fa94bb1977c31b3a280005585187d00df2424e.tar.gz
eselect-php-41fa94bb1977c31b3a280005585187d00df2424e.tar.bz2
eselect-php-41fa94bb1977c31b3a280005585187d00df2424e.zip
Rename the init script input file to facilitate the two-phase replacement.
We perform variable substitution twice in the main eselect script -- once through autotools, and the other manually in the resulting Makefile. As a result, the script has a double "in.in" suffix. To make substitution work the same way in the init script, this commit renames it with an "in.in" suffix, and mentions it in configure.ac.
-rw-r--r--configure.ac2
-rw-r--r--doc/php-fpm.example.init.in.in (renamed from doc/php-fpm.example.init.in)0
2 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d642dbd..9f8b4eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,6 @@ AC_ARG_ENABLE(
# List of output files.
-AC_CONFIG_FILES([Makefile src/php.eselect.in])
+AC_CONFIG_FILES([Makefile src/php.eselect.in doc/php-fpm.example.init.in])
AC_OUTPUT
diff --git a/doc/php-fpm.example.init.in b/doc/php-fpm.example.init.in.in
index 912a5d8..912a5d8 100644
--- a/doc/php-fpm.example.init.in
+++ b/doc/php-fpm.example.init.in.in