[Pkg-freedict-commits] r45 - in /packages/freedict-kur-tur/trunk/debian: patches/ patches/001_Makefile_xdf2tei_PATH rules

joostvb at users.alioth.debian.org joostvb at users.alioth.debian.org
Sun Dec 31 13:09:19 CET 2006


Author: joostvb
Date: Sun Dec 31 13:09:19 2006
New Revision: 45

URL: http://svn.debian.org/wsvn/pkg-freedict/?sc=1&rev=45
Log:
trying to make sure we find xdf2tei.pl

Added:
    packages/freedict-kur-tur/trunk/debian/patches/
    packages/freedict-kur-tur/trunk/debian/patches/001_Makefile_xdf2tei_PATH
Modified:
    packages/freedict-kur-tur/trunk/debian/rules

Added: packages/freedict-kur-tur/trunk/debian/patches/001_Makefile_xdf2tei_PATH
URL: http://svn.debian.org/wsvn/pkg-freedict/packages/freedict-kur-tur/trunk/debian/patches/001_Makefile_xdf2tei_PATH?rev=45&op=file
==============================================================================
--- packages/freedict-kur-tur/trunk/debian/patches/001_Makefile_xdf2tei_PATH (added)
+++ packages/freedict-kur-tur/trunk/debian/patches/001_Makefile_xdf2tei_PATH Sun Dec 31 13:09:19 2006
@@ -1,0 +1,19 @@
+Index: Makefile
+===================================================================
+--- Makefile.orig	2006-12-31 13:02:56.886943333 +0100
++++ Makefile	2006-12-31 13:04:08.922898907 +0100
+@@ -2,10 +2,12 @@
+ DISTFILES = kur-tur.txt Makefile kur-tur.tei.header
+ include $(FREEDICTDIR)/tools/Makefile.common
+ 
++XDF2TEI ?= $(FREEDICTDIR)/tools/xdf2tei.pl
++
+ $(dictname).tei: $(dictname).txt $(dictname).tei.header \
+-	$(FREEDICTDIR)/tools/xdf2tei.pl
++	$(XDF2TEI)
+ 	cat $(dictname).tei.header >$@
+-	$(FREEDICTDIR)/tools/xdf2tei.pl <$< >>$@
++	$(XDF2TEI) <$< >>$@
+ 	echo "</body></text></TEI.2>" >>$@
+ 
+ clean::

Modified: packages/freedict-kur-tur/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-freedict/packages/freedict-kur-tur/trunk/debian/rules?rev=45&op=diff
==============================================================================
--- packages/freedict-kur-tur/trunk/debian/rules (original)
+++ packages/freedict-kur-tur/trunk/debian/rules Sun Dec 31 13:09:19 2006
@@ -8,7 +8,7 @@
 #export DH_VERBOSE=1
 
 DICT = kur-tur
-DICT_MAKE_ENVVARS = supported_phonetics=
+DICT_MAKE_ENVVARS = supported_phonetics= XDF2TEI=/usr/share/freedict-tools/scripts/xdf2tei.pl
 FULLNAME = Kurdish-Turkish
 AUTHORNAME = Erdal Ronahi (erdal.ronahi at gmail.com)
 VERSION = 0.1




More information about the Pkg-freedict-commits mailing list