vecxoz's picture
Add files using upload-large-folder tool
61c8ddd verified
Raw
History Blame Contribute Delete
1.98 kB
# **********************************************************
# Makefile for rfilter1 Directory
# **********************************************************
SHELL = /bin/sh
PREFIX=/home/userube/mozilla/zz__temp_5_rover/SCTK
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 $(DESTDIR)$(bindir)
clean:
distclean: clean
$(RM) -r *~ makefile