Annotation of parser3/tests/Makefile, revision 1.1.2.2

1.1.2.1   paf         1: ifdef COMSPEC
1.1.2.2 ! paf         2:        PARSER=./parser-cygwin.sh
1.1.2.1   paf         3: else
1.1.2.2 ! paf         4:        PARSER=./parser-unix.sh
1.1.2.1   paf         5: endif
                      6: 
                      7: DIFF=diff
                      8: ECHO=echo
                      9: RM=rm
                     10: 
                     11: #
                     12: 
                     13: OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))
                     14: RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))
                     15: 
                     16: outputs/%.processed: %.html Makefile $(PARSER)
1.1.2.2 ! paf        17:        $(PARSER) $< > $@
1.1.2.1   paf        18: 
                     19: .PHONY: FORCE all clean
                     20: 
                     21: results/%.processed: outputs/%.processed FORCE
                     22:        @$(DIFF) $< $@
                     23: 
                     24: all: tests
                     25: 
                     26: tests: outputs compares
                     27: 
                     28: outputs: $(OUTPUTS)
                     29: 
                     30: compares: $(RESULTS)
                     31:        @$(ECHO) All tests passed OK
                     32: 
                     33: clean:
                     34:        $(RM) -f outputs/*.processed

E-mail: