Annotation of parser3/tests/Makefile, revision 1.1.2.8.2.6

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.6! paf        21: outputs/%.processed: %.html
        !            22: # Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE) $(PARSER_CONFIG)
1.1.2.3   paf        23:        $(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@
1.1.2.1   paf        24: 
1.1.2.7   paf        25: .PHONY: FORCE all tests clean install install-exec install-data
1.1.2.1   paf        26: 
                     27: results/%.processed: outputs/%.processed FORCE
1.1.2.6   paf        28:        -$(DIFF) $< $@
1.1.2.1   paf        29: 
                     30: tests: outputs compares
                     31: 
                     32: outputs: $(OUTPUTS)
                     33: 
                     34: compares: $(RESULTS)
1.1.2.6   paf        35:        @$(ECHO) DONE
1.1.2.1   paf        36: 
                     37: clean:
                     38:        $(RM) -f outputs/*.processed
1.1.2.7   paf        39: 
                     40: install:
                     41: install-exec:
                     42: install-data:

E-mail: