Blame view
tools/sctk-2.4.10/src/hamzaNorm/makefile
1.25 KB
8dcb6dfcb first commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# ********************************************************** # Makefile for rfilter1 Directory # ********************************************************** SHELL = /bin/sh PREFIX=/local_disk/orion/ontrac/yannick/kaldi_20190717/kaldi/tools/sctk bindir = $(PREFIX)/bin T=../test_suite all: hamzaNorm.pl hamzaNorm.pl: chmod +x hamzaNorm.pl setTests: cat $(T)/test.arb2004.txt | ./hamzaNorm.pl - $(T)/test.arb2004.hamzaNorm.txt cat $(T)/test.arb2004.txt.stm | sed 's/<O>//' | ./hamzaNorm.pl -i stm - $(T)/test.arb2004.txt.stm.hamza cat $(T)/test.arb2004.txt.ctm | ./hamzaNorm.pl -i ctm - - | sed 's/<O>//' > $(T)/test.arb2004.txt.ctm.hamza check: all @echo "Testing hamzaNorm.pl" cat $(T)/test.arb2004.txt | ./hamzaNorm.pl -- - - | diff - $(T)/test.arb2004.hamzaNorm.txt cat $(T)/test.arb2004.txt.stm | sed 's/<O>//' | ./hamzaNorm.pl -i stm -- - - | diff - $(T)/test.arb2004.txt.stm.hamza cat $(T)/test.arb2004.txt.stm | ./hamzaNorm.pl -i stm -- - - | sed 's/<O>//' | diff - $(T)/test.arb2004.txt.stm.hamza cat $(T)/test.arb2004.txt.ctm | ./hamzaNorm.pl -i ctm -- - - | sed 's/<O>//' | diff - $(T)/test.arb2004.txt.ctm.hamza @echo " hamzaNorm.pl tests successfully completed" install: all cp hamzaNorm.pl $(bindir) clean: distclean: clean rm -r *~ makefile |