Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9cc5cae

Browse files
committed
Fix this:
$ ./configure --without-docdir..$ cd contrib/pgstattuple/$ make installmkdir -p -- /contribmkdir: cannot create directory `/contrib': Permission deniedmake: *** [installdirs] Error 1ISHIDA Akio
1 parent2c07d6b commit9cc5cae

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/makefiles/pgxs.mk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PGXS: PostgreSQL extensions makefile
22

3-
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.4 2005/05/17 18:26:22 tgl Exp $
3+
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.5 2005/08/12 21:02:25 momjian Exp $
44

55
# This file contains generic rules to build many kinds of simple
66
# extension modules. You only need to set a few variables and include
@@ -100,10 +100,12 @@ ifdef MODULES
100100
done
101101
endif# MODULES
102102
ifdefDOCS
103+
ifdefdocdir
103104
@for file in $(addprefix $(srcdir)/, $(DOCS)); do \
104105
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib"; \
105106
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib; \
106107
done
108+
endif# docdir
107109
endif# DOCS
108110
ifdefPROGRAM
109111
$(INSTALL_PROGRAM) $(PROGRAM)$(X) $(DESTDIR)$(bindir)
@@ -133,8 +135,10 @@ ifneq (,$(MODULES)$(MODULE_big))
133135
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
134136
endif
135137
ifdefDOCS
138+
ifdefdocdir
136139
$(mkinstalldirs) $(DESTDIR)$(docdir)/contrib
137-
endif
140+
endif# docdir
141+
endif# DOCS
138142
ifneq (,$(PROGRAM)$(SCRIPTS)$(SCRIPTS_built))
139143
$(mkinstalldirs) $(DESTDIR)$(bindir)
140144
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp