diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-02 17:42:36 +0200 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-02 17:42:36 +0200 |
| commit | 33481db83bb5f6f7d1017e17a00cd0012a06f117 (patch) | |
| tree | abcd8c201d69fac29edd8305a2c40cb44a7c4fef /Makefile.am | |
| parent | 0ba4ab7cbbd4e78cbc728ef205b98622244afbfb (diff) | |
| download | postgresql-setup-33481db83bb5f6f7d1017e17a00cd0012a06f117.tar.gz postgresql-setup-33481db83bb5f6f7d1017e17a00cd0012a06f117.tar.xz postgresql-setup-33481db83bb5f6f7d1017e17a00cd0012a06f117.zip | |
buildsystem: better handle distro-README
Avoid detecting README.rpm-dist as we generate this file and we
know the best where the file is.
* configure.ac: Avoid detecting README path. Also substitute new
variable README_DIST_BASENAME.
* Makefile.am: Use the new $(README_DIST_BASENAME).
* postgres-check-db-dir.in: Use README_DIST instead of PGDOCDIR.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index b15086b..8aeac27 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ userunitsdir = /etc/systemd/system systemdunitsdir = $(prefix)/lib/systemd/system nodist_systemdunits_DATA = postgresql$(DISTSUFF).service postgresql$(DISTSUFF)@.service -nodist_pgdoc_DATA = README.rpm-dist +nodist_doc_DATA = $(README_DIST_BASENAME) noinst_DATA = $(TEST_GEN_FILES_LIST) @@ -39,14 +39,14 @@ postgresql$(DISTSUFF).service: postgresql.service.in $(c_s) -e 's|@PGDATA_ENVIRONMENT[@]|Environment=PGDATA=$(PGDATADIR)|' \ $< > $@ -README.rpm-dist: README.rpm-dist.in $(c_s) +$(README_DIST_BASENAME): $(README_DIST_BASENAME).in $(c_s) $(INSTANTIATE) EXTRA_DIST = $(srcdir)/*.in GENERATED_FILES = $(bin_SCRIPTS) \ $(libexec_SCRIPTS) \ - $(nodist_pgdoc_DATA) \ + $(nodist_doc_DATA) \ $(pkgsysconf_DATA) \ $(nodist_systemdunits_DATA) |
