summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* configury: fix make distcheck errorsPavel Raiskup2014-09-181-2/+4
| | | | | | | | | | | | | * Makefile.am (EXTRA_DIST): Always use $(srcdir) when referencing wildcards. (install-data-hook): Return true even for non-root make install. (DISTCLEANFILES): Mention ChangeLog. * configure.ac (TEST_GEN_FILES_LIST): Only use the basename. * tests/Makefile.am (CHECK_DEPS): Fix reference to TEST_GEN_FILES_LIST. (DISTCLEANFILES): Mention also atconfig and atlocal. * tests/testsuite.at: Fix reference to $TEST_GEN_FILES_LIST, use always $abs_top_builddir when referencing built files.
* configury: generated ChangeLog by make distPavel Raiskup2014-09-181-0/+19
| | | | | | | | Use the gitlog-to-changelog binary, if exists on the system. * Makefile.am (dist-hook): Add rules for ChangeLog. * ChangeLog: Remove file. * .gitignore: Ignore .gitignore.
* testsuite: configury & and add first test-casePavel Raiskup2014-09-171-47/+19
| | | | | | | This required little bit of generalization so I moved the SED_CALL into configure.ac to have it available for tests/Makefile.am also. The first testsuite just checks that no un-expanded @pattern@ exists in generated files.
* sysconfig: remove remaining filesPavel Raiskup2014-09-161-7/+1
|
* postgresql-check-db-dir: migrate from /etc/postgresql/*Pavel Raiskup2014-09-161-0/+1
|
* README.rpmd-dist: template fixingPavel Raiskup2014-09-161-2/+8
|
* postgresql.service: un-link with postgresql@.servicePavel Raiskup2014-09-161-7/+23
| | | | | | | | We need to create both files separately as (a) the 'postgresql.service' can not .include 'postgresql@.service' for some reason, /usr/lib/ drop-in breaks things (rhbz#1141824) and we want to have PGDATA unset for postgresql@.service, unlike the postgresql.service file.
* postgresql@.service: install this via install-data-hookPavel Raiskup2014-07-031-1/+1
| | | | | .. instead of install-exec-hook, which caused race conditions due to parallelized run of make.
* README.rpm-dist: document recent changesPavel Raiskup2014-07-031-0/+1
| | | | | | Follow the new processes - different options of postgresql-setup, instantiable unit files. Simplify the documentation thanks to the template.
* upgrade/initdb logs: diverge among service namesPavel Raiskup2014-07-031-2/+1
| | | | | | Generate separate log file for each service. Also, don't configure with INITDB_LOG or UPGRADE_LOG but rather with POSTGRES_HOME.
* configury: install postgresql@.servicePavel Raiskup2014-07-011-0/+5
| | | | | | | | | .. as a hardlink to postgresql.service. This allows us to instantiate postgresql@PATTERN units which will be easily configurable in /etc/postgresql/postgresql@PATTERN conf file. We may install separate service file with '.include' statement but that does not seem to be necessary ATM.
* postgresql-ctl: use detected PG_CTL_BINPavel Raiskup2014-07-011-0/+1
|
* postgresql-check-db-dir generated alsoPavel Raiskup2014-07-011-9/+35
| | | | | Also generate files using sed as is suggested by autoconf manual (and the autoconf project does so internally).
* Makefile.am: more readable file generationPavel Raiskup2014-07-011-11/+12
|
* generate also README.rpm-distPavel Raiskup2014-07-011-1/+10
|
* Generate postgresql.service and configuration filePavel Raiskup2014-07-011-0/+14
|
* postgresql-ctl, DISTSUFF: introducePavel Raiskup2014-07-011-1/+15
| | | | | | | | | | | | We need postgresql-ctl for to keep backward compatibility with clients setting "PGPORT" directly in service file. DISTSUFF variable (which is read by ./configure) may be used to generated namespaced binary names -- e.g. DISTSUFF=93 results in postgresql93-setup is generated instead of postgresql-setup. This commit also adjusts autotools build system to not generate scripts by ./configure, but rather by make.
* docs: update option documentation and generate manPavel Raiskup2014-07-011-0/+2
|
* configury: prepare for autotoolsPavel Raiskup2014-07-011-0/+1