diff options
Diffstat (limited to 'modules/bibles/grc/tr/Makefile')
-rw-r--r-- | modules/bibles/grc/tr/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/bibles/grc/tr/Makefile b/modules/bibles/grc/tr/Makefile new file mode 100644 index 0000000..8742dc1 --- /dev/null +++ b/modules/bibles/grc/tr/Makefile @@ -0,0 +1,30 @@ +.SUFFIXES: .UTR .imp +SOURCE = TR-PRSD +TARGET = tr +SOURCES = $(shell find $(SOURCE)/ -name '*.UTR') +IMPS = $(SOURCES:%.UTR=%.imp) + +all: $(TARGET)/ + +$(SOURCE).ZIP: + wget -O $(SOURCE).ZIP https://sites.google.com/a/wmail.fi/greeknt/home/greeknt/$(SOURCE).ZIP?attredirects=0 + +$(SOURCE)/: $(SOURCE).ZIP + unzip $(SOURCE).ZIP -d $(SOURCE)/ + +.UTR.imp: + ../whnu/convert.sh $< > $@ + +$(SOURCE).imp: $(SOURCE)/ ../whnu/convert.sh symbgreektoutf16 $(IMPS) + cat $(IMPS) > $(SOURCE).imp + +$(TARGET)/: $(SOURCE).imp + mkdir -p $(TARGET)/ + imp2vs $(SOURCE).imp -z -o $(TARGET)/ + +clean: + rm -rf $(SOURCE).ZIP $(SOURCE) $(SOURCE).imp symbgreektoutf16 $(TARGET) + +symbgreektoutf16: ../../../../misc/symbgreektoutf16.c + gcc -o $@ $< + |