mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix uninstall target in tsearch Makefile
Artur Zakirov
This commit is contained in:
@ -13,11 +13,15 @@ include $(top_builddir)/src/Makefile.global
|
|||||||
|
|
||||||
DICTDIR=tsearch_data
|
DICTDIR=tsearch_data
|
||||||
|
|
||||||
DICTFILES=dicts/synonym_sample.syn dicts/thesaurus_sample.ths \
|
# List of dictionaries files
|
||||||
dicts/hunspell_sample.affix \
|
DICTFILES=synonym_sample.syn thesaurus_sample.ths \
|
||||||
dicts/ispell_sample.affix dicts/ispell_sample.dict \
|
hunspell_sample.affix \
|
||||||
dicts/hunspell_sample_long.affix dicts/hunspell_sample_long.dict \
|
ispell_sample.affix ispell_sample.dict \
|
||||||
dicts/hunspell_sample_num.affix dicts/hunspell_sample_num.dict
|
hunspell_sample_long.affix hunspell_sample_long.dict \
|
||||||
|
hunspell_sample_num.affix hunspell_sample_num.dict
|
||||||
|
|
||||||
|
# Local paths to dictionaries files
|
||||||
|
DICTFILES_PATH=$(addprefix dicts/,$(DICTFILES))
|
||||||
|
|
||||||
OBJS = ts_locale.o ts_parse.o wparser.o wparser_def.o dict.o \
|
OBJS = ts_locale.o ts_parse.o wparser.o wparser_def.o dict.o \
|
||||||
dict_simple.o dict_synonym.o dict_thesaurus.o \
|
dict_simple.o dict_synonym.o dict_thesaurus.o \
|
||||||
@ -27,8 +31,8 @@ OBJS = ts_locale.o ts_parse.o wparser.o wparser_def.o dict.o \
|
|||||||
include $(top_srcdir)/src/backend/common.mk
|
include $(top_srcdir)/src/backend/common.mk
|
||||||
|
|
||||||
.PHONY: install-data
|
.PHONY: install-data
|
||||||
install-data: $(DICTFILES) installdirs
|
install-data: $(DICTFILES_PATH) installdirs
|
||||||
$(INSTALL_DATA) $(addprefix $(srcdir)/,$(DICTFILES)) '$(DESTDIR)$(datadir)/$(DICTDIR)/'
|
$(INSTALL_DATA) $(addprefix $(srcdir)/,$(DICTFILES_PATH)) '$(DESTDIR)$(datadir)/$(DICTDIR)/'
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
$(MKDIR_P) '$(DESTDIR)$(datadir)' '$(DESTDIR)$(datadir)/$(DICTDIR)'
|
$(MKDIR_P) '$(DESTDIR)$(datadir)' '$(DESTDIR)$(datadir)/$(DICTDIR)'
|
||||||
|
Reference in New Issue
Block a user