Description: Install teiaddphonetics
 This patch adds the teiaddphonetics script to the list of files to be installed
 under /usr/share/freedict.
Author: Sebastian Humenda <shumenda@gmx.de>
Last-Update: 2018-09-23

Index: freedict-tools/Makefile
===================================================================
--- freedict-tools.orig/Makefile
+++ freedict-tools/Makefile
@@ -137,7 +137,8 @@ mk_venv: #! initialise a new (Python) vi
 # NOTE: the directories below HAVE to be on one line
 DIRS := mk xquery xsl/inc
 PATHS := $(wildcard freedict-database.rng \
-	mk/* xsl/inc/* \
+	mk/*.mk xsl/inc/* \
+	teiaddphonetics \
 	xquery/* xsl/tei2c5.xsl)
 install: #! install the tools to $$DESTDIR/$PREFIX/share/freedict (default /usr/local/share/freedict)
 install:
@@ -151,6 +152,7 @@ install:
 			install -m 644 $$f $(INSTALLDIR)/$$f; \
 		fi \
 	done
+	chmod 755 $(INSTALLDIR)/teiaddphonetics
 
 
 
