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
|
AUTOMAKE_OPTIONS = 1.2 foreign
bin_PROGRAMS = ras
bin_SCRIPTS = rasmerge rassplit
ras_SOURCES = common.h rasmain.c field.h field.c applysum.h applysum.c \
segfname.h segfname.c options.h options.c utils.h utils.c
man_MANS = ras.1 rasmerge.1 rassplit.1
check-local: ras
@echo "Generating 3 test data files ..."
echo "The cat sat on the mat" >one
echo "hello" >two
echo "wimbledon" >three
for i in one two three; do cp $$i $$i.real; done
@echo "Generating 4 sumfiles ..."
./ras -c -fone -f two -fthree sum0 sum1 sum2 sum3
@echo "Removing 4 of our 7 original files and sumfiles ..."
rm one three sum0 sum3
@echo "Regenerating missing data files ..."
./ras -fone -ftwo -fthree sum?
@echo "Checking that files were regenerated correctly ..."
@echo "(expect no output from diff)"
diff one one.real
diff two two.real
diff three three.real
@echo "CHECK PASSED"
distclean-local:
rm -rf .deps
|