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

Commit1c2db8c

Browse files
committed
Fix uninstall target in tsearch Makefile
Artur Zakirov
1 parent7b077af commit1c2db8c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

‎src/backend/tsearch/Makefile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ include $(top_builddir)/src/Makefile.global
1313

1414
DICTDIR=tsearch_data
1515

16-
DICTFILES=dicts/synonym_sample.syn dicts/thesaurus_sample.ths\
17-
dicts/hunspell_sample.affix\
18-
dicts/ispell_sample.affix dicts/ispell_sample.dict\
19-
dicts/hunspell_sample_long.affix dicts/hunspell_sample_long.dict\
20-
dicts/hunspell_sample_num.affix dicts/hunspell_sample_num.dict
16+
# List of dictionaries files
17+
DICTFILES=synonym_sample.syn thesaurus_sample.ths\
18+
hunspell_sample.affix\
19+
ispell_sample.affix ispell_sample.dict\
20+
hunspell_sample_long.affix hunspell_sample_long.dict\
21+
hunspell_sample_num.affix hunspell_sample_num.dict
22+
23+
# Local paths to dictionaries files
24+
DICTFILES_PATH=$(addprefix dicts/,$(DICTFILES))
2125

2226
OBJS = ts_locale.o ts_parse.o wparser.o wparser_def.o dict.o\
2327
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 \
2731
include$(top_srcdir)/src/backend/common.mk
2832

2933
.PHONY: install-data
30-
install-data:$(DICTFILES) installdirs
31-
$(INSTALL_DATA)$(addprefix$(srcdir)/,$(DICTFILES))'$(DESTDIR)$(datadir)/$(DICTDIR)/'
34+
install-data:$(DICTFILES_PATH) installdirs
35+
$(INSTALL_DATA)$(addprefix$(srcdir)/,$(DICTFILES_PATH))'$(DESTDIR)$(datadir)/$(DICTDIR)/'
3236

3337
installdirs:
3438
$(MKDIR_P)'$(DESTDIR)$(datadir)''$(DESTDIR)$(datadir)/$(DICTDIR)'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp