mirror of
https://github.com/postgres/postgres.git
synced 2026-04-23 07:07:22 -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
aa00af38c8
commit
526e38751a
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ install: all installdirs
|
|||
$(INSTALL_DATA) $(srcdir)/psqlrc.sample '$(DESTDIR)$(datadir)/psqlrc.sample'
|
||||
|
||||
installdirs:
|
||||
$(MKDIR_P) '$(DESTDIR)$(bindir)'
|
||||
$(MKDIR_P) '$(DESTDIR)$(bindir)' '$(DESTDIR)$(datadir)'
|
||||
|
||||
uninstall:
|
||||
rm -f '$(DESTDIR)$(bindir)/psql$(X)' '$(DESTDIR)$(datadir)/psqlrc.sample'
|
||||
|
|
|
|||
Loading…
Reference in a new issue