Annotation of parser3/tests/Makefile, revision 1.5

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.4       paf         8: PARSER_CONFIG=results/auto.p
1.2       paf         9: 
                     10: RUN_PARSER=./run_parser.sh
                     11: DIFF=diff -b
                     12: RM=rm
                     13: 
                     14: #
                     15: 
1.5     ! moko       16: OUTPUTS=$(patsubst %.html,outputs/%.processed,$(sort $(wildcard *.html)))
        !            17: RESULTS=$(patsubst %.html,results/%.processed,$(sort $(wildcard *.html)))
1.2       paf        18: 
                     19: outputs/%.processed: %.html
1.4       paf        20:        $(RUN_PARSER) $(PARSER_EXECUTABLE) $< $(PARSER_CONFIG) > $@
1.2       paf        21: 
                     22: .PHONY: FORCE all tests clean install install-exec install-data
                     23: 
                     24: results/%.processed: outputs/%.processed FORCE
                     25:        -$(DIFF) $< $@
                     26: 
                     27: tests: outputs compares
                     28: 
                     29: outputs: $(OUTPUTS)
                     30: 
                     31: compares: $(RESULTS)
                     32: 
                     33: clean:
                     34:        $(RM) -f outputs/*.processed
                     35: 
                     36: install:
                     37: install-exec:
                     38: install-data:

E-mail: