Diff for /parser3/tests/Makefile between versions 1.3 and 1.6

version 1.3, 2005/12/16 11:58:42 version 1.6, 2016/08/03 16:36:16
Line 5  else Line 5  else
         PARSER_DIR=../src/targets/cgi          PARSER_DIR=../src/targets/cgi
         PARSER_EXECUTABLE=$(PARSER_DIR)/parser3          PARSER_EXECUTABLE=$(PARSER_DIR)/parser3
 endif  endif
 PARSER_CONFIG=NONE  PARSER_CONFIG=results/auto.p
   
 RUN_PARSER=./run_parser.sh  RUN_PARSER=./run_parser.sh
 DIFF=diff -b  DIFF=diff -b
Line 13  RM=rm Line 13  RM=rm
   
 #  #
   
 OUTPUTS=$(patsubst %.html,outputs/%.processed,$(wildcard *.html))  COMMON=$(sort $(wildcard ???.html))
 RESULTS=$(patsubst %.html,results/%.processed,$(wildcard *.html))  OUTPUTS_COMMON=$(patsubst %.html,outputs/%.processed,$(COMMON))
   RESULTS_COMMON=$(patsubst %.html,results/%.processed,$(COMMON))
   
   CURL=$(sort $(wildcard *-curl.html))
   OUTPUTS_CURL=$(patsubst %.html,outputs/%.processed,$(CURL))
   RESULTS_CURL=$(patsubst %.html,results/%.processed,$(CURL))
   
   SQL=$(sort $(wildcard *-sql.html))
   OUTPUTS_SQL=$(patsubst %.html,outputs/%.processed,$(SQL))
   RESULTS_SQL=$(patsubst %.html,results/%.processed,$(SQL))
   
 outputs/%.processed: %.html  outputs/%.processed: %.html
 # Makefile $(RUN_PARSER) $(PARSER_EXECUTABLE) $(PARSER_CONFIG)          $(RUN_PARSER) $(PARSER_EXECUTABLE) $< $(PARSER_CONFIG) > $@
         $(RUN_PARSER) $(PARSER_EXECUTABLE) $< > $@  
   
 .PHONY: FORCE all tests clean install install-exec install-data  .PHONY: FORCE tests
   
 results/%.processed: outputs/%.processed FORCE  results/%.processed: outputs/%.processed FORCE
         -$(DIFF) $< $@          -$(DIFF) $@ $<
   
 tests: outputs compares  tests: $(OUTPUTS_COMMON) $(RESULTS_COMMON)
   
 outputs: $(OUTPUTS)  tests-curl: $(OUTPUTS_CURL) $(RESULTS_CURL)
   
 compares: $(RESULTS)  tests-sql: $(OUTPUTS_SQL) $(RESULTS_SQL)
   
   all: tests tests-curl
   
 clean:  clean:
         $(RM) -f outputs/*.processed          $(RM) -f outputs/*.processed
   
 install:  
 install-exec:  
 install-data:  

Removed from v.1.3  
changed lines
  Added in v.1.6


E-mail: