Blame view
tools/sctk-2.4.10/src/tanweenFilt/makefile.in
1.88 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 34 35 36 37 38 39 |
# ********************************************************** # Makefile for rfilter1 Directory # ********************************************************** SHELL = /bin/sh PREFIX= bindir = $(PREFIX)/bin T=../test_suite all: tanweenFilt.pl tanweenFilt.pl: chmod +x tanweenFilt.pl setTests: cat $(T)/test.arb2004.txt | ./tanweenFilt.pl - $(T)/test.arb2004.tanweenFilt.txt cat $(T)/test.arb2004.txt.stm | sed 's/<O>//' | ./tanweenFilt.pl -i stm - $(T)/test.arb2004.txt.stm.tanween cat $(T)/test.arb2004.txt.ctm | ./tanweenFilt.pl -i ctm - - | sed 's/<O>//' > $(T)/test.arb2004.txt.ctm.tanween cat $(T)/test.arb2004.txt | ./tanweenFilt.pl -a - $(T)/test.arb2004.tanweenFilt-a.txt cat $(T)/test.arb2004.txt.stm | sed 's/<O>//' | ./tanweenFilt.pl -a -i stm - $(T)/test.arb2004.txt.stm.tanween-a cat $(T)/test.arb2004.txt.ctm | ./tanweenFilt.pl -a -i ctm - - | sed 's/<O>//' > $(T)/test.arb2004.txt.ctm.tanween-a check: all @echo "Testing tanweenFilt.pl" cat $(T)/test.arb2004.txt | ./tanweenFilt.pl -- - - | diff - $(T)/test.arb2004.tanweenFilt.txt cat $(T)/test.arb2004.txt | ./tanweenFilt.pl -a -- - - | diff - $(T)/test.arb2004.tanweenFilt-a.txt cat $(T)/test.arb2004.txt.stm | sed 's/<O>//' | ./tanweenFilt.pl -i stm -- - - | diff - $(T)/test.arb2004.txt.stm.tanween cat $(T)/test.arb2004.txt.stm | ./tanweenFilt.pl -i stm -- - - | sed 's/<O>//' | diff - $(T)/test.arb2004.txt.stm.tanween cat $(T)/test.arb2004.txt.stm | ./tanweenFilt.pl -a -i stm -- - - | sed 's/<O>//' | diff - $(T)/test.arb2004.txt.stm.tanween-a cat $(T)/test.arb2004.txt.ctm | ./tanweenFilt.pl -i ctm -- - - | sed 's/<O>//' | diff - $(T)/test.arb2004.txt.ctm.tanween cat $(T)/test.arb2004.txt.ctm | ./tanweenFilt.pl -a -i ctm -- - - | sed 's/<O>//' | diff - $(T)/test.arb2004.txt.ctm.tanween-a @echo " tanweenFilt.pl tests successfully completed" install: all cp tanweenFilt.pl $(bindir) clean: distclean: clean rm -r *~ makefile |