diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2015-03-04 16:00:31 +0100 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2015-03-04 16:06:45 +0100 |
| commit | 834c0e34d7828f96550c7a7bbb94f3dcaacd2029 (patch) | |
| tree | 853ae4201f0e4a9f261352549b6ef359d0d24869 /configure.ac | |
| parent | f6c4b5674f9ea68634fa13197405a89fde64985f (diff) | |
| download | postgresql-setup-834c0e34d7828f96550c7a7bbb94f3dcaacd2029.tar.gz postgresql-setup-834c0e34d7828f96550c7a7bbb94f3dcaacd2029.tar.xz postgresql-setup-834c0e34d7828f96550c7a7bbb94f3dcaacd2029.zip | |
README.rpm-dist: use docbook2txt for generation
The benefit is that sgml format we write does not need to be kept
formated precisely. The output format still needs some "style"
fixes, but now docbook2txt is able to generates correct text-file
README.rpm-dist without problems on RHEL 5.10+.
* .gitignore: Added all intermediate files of README file.
* Makefile.am: Generated README file is firstly filtered through
$(SED_RULES), then macros are expanded by m4 and then docbook2txt
is called.
* README: Document subset of dependencies.
* README.rpm-dist.in: Move to ...
* README.rpm-dist.template: ... here, with docbook transformation.
* TODO: Document we should should work docbook docs.
* configure.ac: AC_SUBST also WANT_SYSVINIT.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index aa82982..c8c67c5 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,9 @@ AC_ARG_WITH([sysvinit], [WANT_SYSVINIT=0] ) +test -z "$WANT_SYSVINIT" && WANT_SYSVINIT=0 AM_CONDITIONAL([WANT_SYSVINIT], [test "$WANT_SYSVINIT" -eq 1]) +AC_SUBST([WANT_SYSVINIT]) # Instatiating generated files by sed instead of config.status. # This is encouraged by autoconf documentation itself because if we used @@ -47,7 +49,8 @@ sed_subst_var_pattern(README_DIST) sed_subst_var_pattern(SU_POSTGRES) sed_subst_var_pattern(sysconfdir) sed_subst_var_pattern(TEST_GEN_FILES_LIST) -sed_subst_var_pattern(VERSION)" +sed_subst_var_pattern(VERSION) +sed_subst_var_pattern(WANT_SYSVINIT)" m4_define([add_sed_subst_var], [ SED_RULES="$SED_RULES |
