Annotation of parser3/tests/Makefile, revision 1.3
1.2 paf 1: ifdef COMSPEC
2: PARSER_DIR=../src/targets/cgi/release
3: PARSER_EXECUTABLE=$(PARSER_DIR)/parser3.exe
4: else
5: PARSER_DIR=../src/targets/cgi
6: PARSER_EXECUTABLE=$(PARSER_DIR)/parser3
7: endif
1.3 ! paf 8: PARSER_CONFIG=NONE
1.2 paf 9:
10: RUN_PARSER=./run_parser.sh
11: DIFF=diff -b
12: RM=rm
13:
14: #
15:
16: OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))
17: RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))
18:
19: outputs/%.processed: %.html
20: # Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE) $(PARSER_CONFIG)
21: $(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@
22:
23: .PHONY: FORCE all tests clean install install-exec install-data
24:
25: results/%.processed: outputs/%.processed FORCE
26: -$(DIFF) $< $@
27:
28: tests: outputs compares
29:
30: outputs: $(OUTPUTS)
31:
32: compares: $(RESULTS)
33:
34: clean:
35: $(RM) -f outputs/*.processed
36:
37: install:
38: install-exec:
39: install-data:
E-mail: