Skip to content

Commit b134682

Browse files
committed
Make sure sharedir/extension/ directory is created when needed.
The previous coding worked as long as MODULEDIR wasn't set explicitly, because we create sharedir/$(datamoduledir) and the default value of that is "extension". But if some other value is specified for MODULEDIR then the installation directory needed for the control file wasn't made. Cédric Villemain
1 parent 7b90469 commit b134682

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/makefiles/pgxs.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ endif # MODULE_big
146146

147147

148148
installdirs:
149+
ifneq (,$(EXTENSION))
150+
$(MKDIR_P) '$(DESTDIR)$(datadir)/extension'
151+
endif
149152
ifneq (,$(DATA)$(DATA_built))
150153
$(MKDIR_P) '$(DESTDIR)$(datadir)/$(datamoduledir)'
151154
endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy