--- parser3/tests/Makefile 2003/03/06 08:48:59 1.1.2.6 +++ parser3/tests/Makefile 2003/07/24 06:19:19 1.1.2.8.2.10 @@ -1,5 +1,5 @@ ifdef COMSPEC - PARSER_DIR=../src/targets/cgi/debug + PARSER_DIR=../src/targets/cgi/release PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe PARSER_CONFIG=$(PARSER_DIR)/auto.p else @@ -9,7 +9,7 @@ else endif RUN_PARSER=./run_parser.sh -DIFF=diff +DIFF=diff -b ECHO=echo RM=rm @@ -18,18 +18,15 @@ 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) +outputs/%.processed: %.html +# Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE) $(PARSER_CONFIG) $(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@ -.PHONY: FORCE all tests clean +.PHONY: FORCE all tests clean install install-exec install-data results/%.processed: outputs/%.processed FORCE -$(DIFF) $< $@ -all: - @$(ECHO) this folder contains Parser3 tests, you can run them by command: - @$(ECHO) make tests - tests: outputs compares outputs: $(OUTPUTS) @@ -39,3 +36,7 @@ compares: $(RESULTS) clean: $(RM) -f outputs/*.processed + +install: +install-exec: +install-data: