]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fts: use full path to word-properties script
authorJosef 'Jeff' Sipek <jeff.sipek@dovecot.fi>
Tue, 9 May 2017 09:42:48 +0000 (12:42 +0300)
committerGitLab <gitlab@git.dovecot.net>
Wed, 10 May 2017 09:19:20 +0000 (12:19 +0300)
This is a step toward fixing builds where object dir != source dir.

src/lib-fts/Makefile.am

index 913ff9521db693a526bd6833078eea5f1d73a76b..fcff0748535e26fb90bd47272ced843b6259474e 100644 (file)
@@ -43,13 +43,13 @@ EXTRA_DIST = \
 
 $(srcdir)/WordBreakProperty.txt:
        test -f $@ || wget -O $@ https://dovecot.org/res/WordBreakProperty.txt
-$(srcdir)/word-boundary-data.c: word-properties.pl $(srcdir)/WordBreakProperty.txt
-       perl word-properties.pl boundaries $(srcdir)/WordBreakProperty.txt > $@
+$(srcdir)/word-boundary-data.c: $(srcdir)/word-properties.pl $(srcdir)/WordBreakProperty.txt
+       perl $(srcdir)/word-properties.pl boundaries $(srcdir)/WordBreakProperty.txt > $@
 
 $(srcdir)/PropList.txt:
        test -f $@ || wget -O $@ https://dovecot.org/res/PropList.txt
-$(srcdir)/word-break-data.c: word-properties.pl $(srcdir)/PropList.txt
-       perl word-properties.pl breaks $(srcdir)/PropList.txt > $@
+$(srcdir)/word-break-data.c: $(srcdir)/word-properties.pl $(srcdir)/PropList.txt
+       perl $(srcdir)/word-properties.pl breaks $(srcdir)/PropList.txt > $@
 
 
 if BUILD_FTS_STEMMER