diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-09-18 11:32:12 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-09-18 11:39:14 +0200 |
commit | f6ce954de17d1d7ea312e610231e0196cf9c0ffb (patch) | |
tree | f239f5498a2df9e751bc427bc7bad18e904e7572 | |
parent | cbb845482abafc917241240e88f3c0271093b98c (diff) | |
download | postgresql-setup-f6ce954de17d1d7ea312e610231e0196cf9c0ffb.tar.gz postgresql-setup-f6ce954de17d1d7ea312e610231e0196cf9c0ffb.tar.xz postgresql-setup-f6ce954de17d1d7ea312e610231e0196cf9c0ffb.zip |
configury: generated ChangeLog by make dist
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.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ChangeLog | 55 | ||||
-rw-r--r-- | Makefile.am | 19 |
3 files changed, 20 insertions, 55 deletions
@@ -5,6 +5,7 @@ aclocal.m4 atconfig atlocal autom4te.cache/ +ChangeLog config.log config.status configure diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 51f0964..0000000 --- a/ChangeLog +++ /dev/null @@ -1,55 +0,0 @@ -2014-07-03 Pavel Raiskup <praiskup@redhat.com> - upgrade/initdb logs: diverge among service names - - Generate separate log file for each service. Also, don't - configure with INITDB_LOG or UPGRADE_LOG but rather with - POSTGRES_HOME. - -2014-07-03 Pavel Raiskup <praiskup@redhat.com> - postgresql-setup: expect '--port 5432' implictly - - .. only when '--unit=postgresql'. When user specifies - --unit=postgresql@unitname, the --port is still required. - - Also, don't adjust the 'port = ' configuration in postgresql.conf - when not necessary. - -2014-07-01 Pavel Raiskup <praiskup@redhat.com> - README-rpm-dist, postgresql.service, postgresql-cehck-db-dir - - Those files are now also generated in postgresql-setup. - -2014-07-01 Pavel Raiskup <praiskup@redhat.com> - postgresql-ctl, DISTSUFF: introduce - - 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. - -2014-06-23 Pavel Raiskup <praiskup@redhat.com> - docs: generate manual page - - The help2man utility is needed for man-page generation. - -2014-06-21 Pavel Raiskup <praiskup@redhat.com> - postgresql-setup: do not resist on PGPORT in service file - - We use /etc/sysconfig/postgresql for PGDATA configuration. PGPORT there - is optional as it is possible (and it is by default) to configure it in - postgresql.conf. - -2014-06-21 Pavel Raiskup <praiskup@redhat.com> - - postgresql-setup: split this script from postgresql package - - Maintenance of postgresql-setup script becoming harder and dealing with - its development in Fedora Rawhide dist-git costs quite a lot of work. - Turns out that it would be better to start development separately and - possibly package it separately also in future (which would be beneficial - because we could not respin whole PostgreSQL package for hot-fix in - postgresql-setup). - - Possibly, this package could be useful for other distributions. diff --git a/Makefile.am b/Makefile.am index 1f165a7..a8bdb6a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,3 +60,22 @@ $(TEST_GEN_FILES_LIST): $(GENERATED_FILES) install-data-hook: test `id -u` -eq 0 && systemctl daemon-reload + +GL_GEN_BIN = gitlog-to-changelog +GL_GEN = $(SHELL) $(top_srcdir)/$(config_aux_dir)/missing --run \ + $(GL_GEN_BIN) --format='%s%n%n%b%n' --since 2013-01-01 > ChangeLog ; \ + rc=$$? ; \ + if test $$rc -eq 127; then \ + if test x"$$IGNORE_CHANGELOG" != xyes; then \ + echo >&2 "ERROR: Get the $(GL_GEN_BIN) or ignore ChangeLog by IGNORE_CHANGELOG=yes" ; \ + exit 1 ; \ + fi ; \ + else \ + test $$rc -eq 0 ; \ + fi + +.PHONY: ChangeLog +ChangeLog: + $(AM_V_GEN)$(GL_GEN) + +dist-hook: ChangeLog |