mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
Fix client-only installation
The psql Makefile was not creating $(datadir) before installing psqlrc.sample there. In most cases, the directory would be created in some other way, but for the documented from-source client-only installation procedure, it could fail. Reported-by: Mike Blackwell <mike.blackwell@rrd.com>
This commit is contained in:
parent
72cce2c780
commit
15699d9bf8
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ install: all installdirs
|
|||
$(INSTALL_DATA) $(srcdir)/psqlrc.sample '$(DESTDIR)$(datadir)/psqlrc.sample'
|
||||
|
||||
installdirs:
|
||||
$(mkinstalldirs) '$(DESTDIR)$(bindir)'
|
||||
$(mkinstalldirs) '$(DESTDIR)$(bindir)' '$(DESTDIR)$(datadir)'
|
||||
|
||||
uninstall:
|
||||
rm -f '$(DESTDIR)$(bindir)/psql$(X)' '$(DESTDIR)$(datadir)/psqlrc.sample'
|
||||
|
|
|
|||
Loading…
Reference in a new issue