mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
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
This commit is contained in:
@ -146,6 +146,9 @@ endif # MODULE_big
|
|||||||
|
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
|
ifneq (,$(EXTENSION))
|
||||||
|
$(MKDIR_P) '$(DESTDIR)$(datadir)/extension'
|
||||||
|
endif
|
||||||
ifneq (,$(DATA)$(DATA_built))
|
ifneq (,$(DATA)$(DATA_built))
|
||||||
$(MKDIR_P) '$(DESTDIR)$(datadir)/$(datamoduledir)'
|
$(MKDIR_P) '$(DESTDIR)$(datadir)/$(datamoduledir)'
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user