File:  [parser3project] / parser3 / tests / Makefile
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Fri Dec 16 11:58:42 2005 UTC (20 years, 6 months ago) by paf
Branches: MAIN
CVS tags: HEAD
. refreshed old tests, made them work without auto.p (in utf8)
. things noted:
. gif got encoded differently
. exif 0000:00:00 decoded now into 0000:00:00 (were some strange year)

ifdef COMSPEC
	PARSER_DIR=../src/targets/cgi/release
	PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe
else
	PARSER_DIR=../src/targets/cgi
	PARSER_EXECUTABLE=$(PARSER_DIR)/parser3
endif
PARSER_CONFIG=NONE

RUN_PARSER=./run_parser.sh
DIFF=diff -b
RM=rm

#

OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))
RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))

outputs/%.processed: %.html
# Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE) $(PARSER_CONFIG)
	$(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@

.PHONY: FORCE all tests clean install install-exec install-data

results/%.processed: outputs/%.processed FORCE
	-$(DIFF) $< $@

tests: outputs compares

outputs: $(OUTPUTS)

compares: $(RESULTS)

clean:
	$(RM) -f outputs/*.processed

install:
install-exec:
install-data:

E-mail: