Description: remove phoneme generation
 By default, the upstream Makefile.common has a target rule to generate phonemes
 for supported languages. However, the script to generate phonemes is outdates
 and depends on non-free software. Support is disabled for Debian.
Author: Sebastian Humenda <shumenda@gmx.de>
Last-Update: <2016-10-28>

Index: freedict/tools/Makefile.common
===================================================================
--- freedict.orig/tools/Makefile.common
+++ freedict/tools/Makefile.common
@@ -34,8 +34,8 @@ DICTD_RESTART_SCRIPT = $(BUILDHELPERS_DI
 # so spaces are substituted by underscores
 empty:=
 space:= $(empty) $(empty)
-version1 := $(shell sed -e '100q;/<edition>/!d;s/.*<edition>\(.*\)<\/edition>.*/\1/;q'\
-	   $(wildcard $(dictname).tei*) $(dictname)-nophon.tei)
+#version1 := $(shell sed -e '100q;/<edition>/!d;s/.*<edition>\(.*\)<\/edition>.*/\1/;q'\
+#	   $(wildcard $(dictname).tei*) $(dictname)-nophon.tei)
 version := $(subst $(space),_,$(version1))
 
 ################
@@ -515,13 +515,11 @@ supported_phonetics ?= $(shell PATH="$(t
 la1 := $(shell export V=$(dictname); echo $${V:0:3})
 #la2 := $(shell export V=$(dictname); echo $${V:4:3})
 
-ifneq (,$(findstring $(la1),$(supported_phonetics)))
-
-# TEIADDPHONETICS ?= -v
-$(dictname).tei: $(dictname)-nophon.tei
-	teiaddphonetics $(TEIADDPHONETICS) -i $< -ou $@ -mbrdico-path $(MBRDICO_PATH)
-
-endif
+#ifneq (,$(findstring $(la1),$(supported_phonetics)))
+## TEIADDPHONETICS ?= -v
+#$(dictname).tei: $(dictname)-nophon.tei
+#	teiaddphonetics $(TEIADDPHONETICS) -i $< -ou $@ -mbrdico-path $(MBRDICO_PATH)
+#endif
 
 
 #######################
