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