From 325812b52b97cb2e29ce80b0be9198d07f84db60 Mon Sep 17 00:00:00 2001 From: A S Alam Date: Jul 11 2020 01:36:36 +0000 Subject: adding other part of project --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..faeea9d --- /dev/null +++ b/Makefile @@ -0,0 +1,168 @@ +SHELL = /bin/sh +TPAGE = /usr/bin/tpage +TOP = . +BUILD_DIR = lang +WEB_DIR = web/utrrs + +all: as_IN bn_IN gu_IN hi_IN kn_IN ml_IN mr_IN or_IN pa_IN si_LK ta_IN te_IN ur_IN de_DE + +as_IN: + cd $(BUILD_DIR)/as_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Assamese.html + cd $(BUILD_DIR)/as_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Assamese.html + cd $(BUILD_DIR)/as_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Assamese.html + +bn_IN: + cd $(BUILD_DIR)/bn_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Bengali.html + cd $(BUILD_DIR)/bn_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Bengali.html + cd $(BUILD_DIR)/bn_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Bengali.html + mkdir -p $(WEB_DIR)/public/images/languages/bn_IN/ + #cp $(BUILD_DIR)/bn_IN/font/image/*.jpg $(WEB_DIR)/public/images/languages/bn_IN/ + +gu_IN: + cd $(BUILD_DIR)/gu_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Gujarati.html + cd $(BUILD_DIR)/gu_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Gujarati.html + cd $(BUILD_DIR)/gu_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Gujarati.html + mkdir -p $(WEB_DIR)/public/images/languages/gu/ + #cp $(BUILD_DIR)/gu_IN/font/image/*.jpg $(WEB_DIR)/public/images/languages/gu/ + +hi_IN: + cd $(BUILD_DIR)/hi_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Hindi.html + cd $(BUILD_DIR)/hi_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Hindi.html + cd $(BUILD_DIR)/hi_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Hindi.html + mkdir -p $(WEB_DIR)/public/images/languages/hi/ + #cp $(BUILD_DIR)/hi_IN/font/image/*.jpg $(WEB_DIR)/public/images/languages/hi/ + +kn_IN: + cd $(BUILD_DIR)/kn_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Kannada.html + cd $(BUILD_DIR)/kn_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Kannada.html + cd $(BUILD_DIR)/kn_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Kannada.html + +ml_IN: + cd $(BUILD_DIR)/ml_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Malayalam.html + cd $(BUILD_DIR)/ml_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Malayalam.html + cd $(BUILD_DIR)/ml_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Malayalam.html + +mr_IN: + cd $(BUILD_DIR)/mr_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Marathi.html + cd $(BUILD_DIR)/mr_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Marathi.html + cd $(BUILD_DIR)/mr_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Marathi.html + +or_IN: + cd $(BUILD_DIR)/or_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Oriya.html + cd $(BUILD_DIR)/or_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Oriya.html + cd $(BUILD_DIR)/or_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Oriya.html + +pa_IN: + cd $(BUILD_DIR)/pa_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Punjabi.html + cd $(BUILD_DIR)/pa_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Punjabi.html + cd $(BUILD_DIR)/pa_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Punjabi.html + mkdir -p $(WEB_DIR)/public/images/languages/pa/ + #cp $(BUILD_DIR)/pa_IN/font/image/*.jpg $(WEB_DIR)/public/images/languages/pa/ + +si_LK: + cd $(BUILD_DIR)/si_LK/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Sinhala.html + cd $(BUILD_DIR)/si_LK/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Sinhala.html + cd $(BUILD_DIR)/si_LK/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Sinhala.html + +ta_IN: + cd $(BUILD_DIR)/ta_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Tamil.html + cd $(BUILD_DIR)/ta_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Tamil.html + cd $(BUILD_DIR)/ta_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Tamil.html + mkdir -p $(WEB_DIR)/public/images/languages/ta/ + #cp $(BUILD_DIR)/ta_IN/font/image/*.jpg $(WEB_DIR)/public/images/languages/ta/ + +te_IN: + cd $(BUILD_DIR)/te_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Telugu.html + cd $(BUILD_DIR)/te_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Telugu.html + cd $(BUILD_DIR)/te_IN/font/template/ && \ + $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Telugu.html + +ur_IN: + cd $(BUILD_DIR)/ur_IN/font/template/ && \ + $(TPAGE) IndicTestCaseCodepoint.tmpl > ../IndicFontTestCaseCodepoint-Urdu.html + cd $(BUILD_DIR)/ur_IN/font/template/ && \ + $(TPAGE) UrduTestCaseGSUB.tmpl > ../IndicFontTestCaseGSUB-Urdu.html +# cd $(BUILD_DIR)/ur_IN/template/ && \ +# $(TPAGE) IndicTestCaseGPOS.tmpl > ../IndicFontTestCaseGPOS-Urdu.html + +th_TH: + cd $(BUILD_DIR)/th_TH/font/template/ && \ + $(TPAGE) TestCaseCodepoint.tmpl > ../FontTestCaseCodepoint-Thai.html + cd $(BUILD_DIR)/th_TH/font/template/ && \ + $(TPAGE) TestCaseGSUB.tmpl > ../FontTestCaseGSUB-Thai.html + cd $(BUILD_DIR)/th_TH/font/template/ && \ + $(TPAGE) TestCaseGPOS.tmpl > ../FontTestCaseGPOS-Thai.html + + +se_SE: + cd $(BUILD_DIR)/se_SE/font/template/ && \ + $(TPAGE) TestCaseCodepoint.tmpl > ../FontTestCaseCodepoint-Serbian.html + +de_DE: + cd $(BUILD_DIR)/de_DE/font/template/ && \ + $(TPAGE) GermanTestCaseCodepoint.tmpl > ../FontTestCaseCodepoint-German.html + cd $(BUILD_DIR)/de_DE/font/template/ && \ + $(TPAGE) GermanTestCaseGSUB.tmpl > ../FontTestCaseGSUB-German.html + cd $(BUILD_DIR)/de_DE/font/template/ && \ + $(TPAGE) GermanTestCaseGPOS.tmpl > ../FontTestCaseGPOS-German.html + mkdir -p $(WEB_DIR)/public/images/languages/de/ + #cp $(BUILD_DIR)/de_DE/font/image/*.jpg $(WEB_DIR)/public/images/languages/de/ +clean: + rm -f $(BUILD_DIR)/bn_IN/font/*.html + rm -f $(BUILD_DIR)/gu_IN/font/*.html + rm -f $(BUILD_DIR)/hi_IN/font/*.html + rm -f $(BUILD_DIR)/pa_IN/font/*.html + rm -f $(BUILD_DIR)/ta_IN/font/*.html + rm -f $(BUILD_DIR)/as_IN/font/*.html + rm -f $(BUILD_DIR)/kn_IN/font/*.html + rm -f $(BUILD_DIR)/ml_IN/font/*.html + rm -f $(BUILD_DIR)/mr_IN/font/*.html + rm -f $(BUILD_DIR)/or_IN/font/*.html + rm -f $(BUILD_DIR)/si_LK/font/*.html + rm -f $(BUILD_DIR)/te_IN/font/*.html + rm -f $(BUILD_DIR)/ur_IN/font/*.html + rm -f $(BUILD_DIR)/th_TH/font/*.html + rm -f $(BUILD_DIR)/se_SE/font/*.html + rm -f $(BUILD_DIR)/de_DE/font/*.html + rm -rf $(WEB_DIR)/public/images/languages/bn_IN/* + rm -rf $(WEB_DIR)/public/images/languages/gu/* + rm -rf $(WEB_DIR)/public/images/languages/hi/* + rm -rf $(WEB_DIR)/public/images/languages/pa/* + rm -rf $(WEB_DIR)/public/images/languages/ta/* + rm -rf $(WEB_DIR)/public/images/languages/de/* +