Index: _old/lang/Makefile
===================================================================
--- _old/lang/Makefile	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/Makefile	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,40 @@
+
+CUR_DIR=$(shell pwd)
+
+#directory with dictionary source
+export UTT_DIC_SRC_HOME=${CUR_DIR}/src
+#directory with configuration files
+export UTT_DIC_CONF_HOME=${CUR_DIR}/conf
+#directory where compiled dictionaries will be placed
+export UTT_DIC_BIN=$(CUR_DIR)/dic
+#directory where distribution will be placed
+export UTT_DIC_OUTPUT=${CUR_DIR}
+
+export LANG_MODULES=pl_PL.ISO-8852-2 pl_PL.UTF-8
+
+# path to dictionary compiler
+DIC_COMPILER=../app/src/compiledic/compiledic
+
+
+
+.PHONY: compile
+compile:
+	#$DIC_COMPILER ...
+	
+
+
+.PHONY: distribute
+distribute: compile dist_tarball
+	@echo "Distribution ready!"
+	
+	
+.PHONY: dist_tarball
+dist_tarball:
+	cd dist && make tarball; cd ${CUR_DIR};
+	
+	
+.PHONY: dist_tarball_pl_PL.ISO-8859-2
+dist_tarball:
+	export DIC_LANG=pl_PL.ISO-8859-2 && \
+	cd dist && make tarball; cd ${CUR_DIR};
+	
Index: _old/lang/README
===================================================================
--- _old/lang/README	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/README	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,1 @@
+the directory contains 
Index: _old/lang/README.developers
===================================================================
--- _old/lang/README.developers	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/README.developers	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,10 @@
+To create dictionary distribution, use:
+    make dist_tarball
+or
+    make dist_tarball DIC_LANG=pl_PL.ISO-8859-2
+    
+The fisrt version will create tarball for all dictionaries, 
+the second only for selected language and encoding.
+The tarball file will be placed in current directory.
+
+Next distribution will be prepared soon.
Index: _old/lang/conf/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym
===================================================================
--- _old/lang/conf/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/conf/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,8 @@
+lcase   a ± b c æ d e ê f g h i j k l ³ m n ñ o ó
+lcase   p q r s ¶ t u v w x y z Œ ¿ é ö ü ä
+ucase   A ¡ B C Æ D E Ê F G H I J K L £ M N Ñ O Ó
+ucase   P Q R S Š T U V W X Y Z ¬ ¯
+letter  lcase ucase
+digit   0 1 2 3 4 5 6 7 8 9
+punct   , . @ / ' ~ ; _ - + ? \ 
+all     letter digit signs sem
Index: _old/lang/conf/pl_PL.UTF-8/pl_PL.utf-8.sym
===================================================================
--- _old/lang/conf/pl_PL.UTF-8/pl_PL.utf-8.sym	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/conf/pl_PL.UTF-8/pl_PL.utf-8.sym	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,9 @@
+lcase   a Ä
+ b c Ä d e Ä f g h i j k l Å m n Å o Ã³
+lcase   p q r s Å t u v w x y z Åº ÅŒ Ã© Ã¶ ÃŒ Ã€
+ucase   A Ä B C Ä D E Ä F G H I J K L Å M N Å O Ã
+ucase   P Q R S Å T U V W X Y Z Å¹ Å»
+letter  lcase ucase
+digit   0 1 2 3 4 5 6 7 8 9
+punct   , . @ / ' ~ ; _ - + ? \ 
+all     letter digit signs sem
Index: _old/lang/dist/Makefile
===================================================================
--- _old/lang/dist/Makefile	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/dist/Makefile	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,37 @@
+
+# some variables
+
+# -----------------------------------------------------------
+# default task should display options
+.PHONY: default
+defaul:
+	@echo "Using: make tarball|rpm|deb"
+
+
+# -----------------------------------------------------------
+# this task will create tar.gz distribution
+.PHONY: tarball
+tarball:
+	cd tarball && make
+
+# -----------------------------------------------------------
+# this task should compile utt (if nesessery) and create rpm version
+.PHONY: rpm
+rpm:
+	@#we build rpm (see spec/README for details)
+	cd spec && make
+
+# -----------------------------------------------------------
+# this task should compile utt (if nesessery) and create deb version
+.PHONY: deb
+deb:
+	@#we build deb (see deb/README for details)
+	cd deb && make
+
+# -----------------------------------------------------------
+# this task should remove compiled files and directories
+.PHONY: clean
+clean:
+	# finally the line below should be uncomment
+	#rm -fr ${UTT_DIST_TMP}
+
Index: _old/lang/dist/tarball/Makefile
===================================================================
--- _old/lang/dist/tarball/Makefile	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
+++ _old/lang/dist/tarball/Makefile	(revision 57728c1d40118b66361f4d949f1ad6409070f9c6)
@@ -0,0 +1,41 @@
+# This makefile builds tarball distribution for utt dictionary.
+
+#
+# Some variables
+#
+DIR=$(shell pwd)
+
+# Common info about version and release
+_UTT_VER=$(shell cat ../../../app/dist/common/version.def)
+_UTT_REL=$(shell cat ../../../app/dist/common/release.def)
+
+# Temp vars
+_TARBALL_ROOT=$(DIR)/utt-$(_UTT_VER).$(_UTT_REL)
+_UTT_DIC_HOME=share/utt
+_TAR_FILE_NAME=utt.$(_UTT_VER)_$(_UTT_REL)
+
+
+#defualt task
+.PHONY: default
+default:
+	@echo Build directory: ${UTT_DIC_BIN}
+	@echo Output directory for tarball: ${UTT_DIC_OUTPUT}
+	mkdir -p ${_TARBALL_ROOT}/${_UTT_DIC_HOME}
+	if [[ -n "${DIC_LANG}" && -d ${UTT_DIC_BIN}/${DIC_LANG} ]]; \
+	then \
+	    echo "Tworze dystrybucje ${DIC_LANG}"; \
+	    mkdir -p ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/${DIC_LANG}; \
+	    cp -fr ${UTT_DIC_BIN}/${DIC_LANG}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/${DIC_LANG}/; \
+	    cp -fr ${UTT_DIC_CONF_HOME}/${DIC_LANG}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/${DIC_LANG}/; \
+	    rm -rf ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/${DIC_LANG}/.svn ; \
+	    tar -czf ${UTT_DIC_OUTPUT}/${_TAR_FILE_NAME}.${DIC_LANG}.tar.gz utt*; \
+	else \
+	    echo "Tworze pelna dystrybucje!"; \
+	    cp -fr ${UTT_DIC_BIN}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/; \
+	    cp -fr ${UTT_DIC_CONF_HOME}/* ${_TARBALL_ROOT}/${_UTT_DIC_HOME}/; \
+	    find ${_TARBALL_ROOT}/${_UTT_DIC_HOME} -type d -path '*/.svn' -exec rm -rf {} \; ; \
+	    tar -czf ${UTT_DIC_OUTPUT}/${_TAR_FILE_NAME}.all.tar.gz utt*; \
+	fi
+
+	rm -rf ${_TARBALL_ROOT}
+
