Updated release tag for trunk changes 4328 to 4330.
[docutils.git] / tests / prest / Makefile.root
blob74108ea38982b34f1102ea7dcdcb961c5d2d9fe2
1 # Use the following to customize flags to gen_gress
2 GEN_GRESS_FLAGS = -p /bin:$(dir $(shell which $(firstword $(MAKE)))):$(GRESS_BIN)
4 # gress.mak has the following useful targets
5 #   default:
6 #         Runs run_gress with argument $(DIR), which defaults to '*'.
7 #         Run make with DIR='arg(s)' to change what run_gress does.
8 #         Makes sure the .sh files associated with all the .re files
9 #         for the run_gress arguments are up to date.
10 #   <dir>/<file>.sh:
11 #         Builds <dir>/<file>.sh from <dir>/<file>.job
12 #   <dir>/<file>.out:
13 #         Builds <dir>/<file>.out by running <dir>/<file>.sh if there are
14 #         changes to <dir>/<file>.sh, or any files in the <dir>/init or 
15 #         ../../bin directories.
16 #   <dir>/<file>.re:
17 #         Builds <dir>/<file>.re from <dir>/<file>.out and either
18 #         ./elide.prl or ../elide.prl (if they exist).
19 #   clean:
20 #         Deletes .log, .plog, <dir>/<file>.out and depends.mak files
21 #         and everything under <dir>/rundir.
22 #   realclean:
23 #         Deletes everything clean does plus any <dir>/*.sh files.
25 GRESS_LIB = $(GRESS_DIR)/lib
26 GRESS_BIN = $(GRESS_DIR)/bin
27 include $(GRESS_LIB)/gress.mak
29 .PRECIOUS:      DIRECT.t/%.sh
30 .PRECIOUS:      NEW_DIRECT.t/%.sh
31 .PRECIOUS:      PARSE.t/%.sh
32 .PRECIOUS:      XFORM.t/%.sh
34 DIRECT.t/%.sh:  DIRECT.tjob
35         $(GRESS_BIN)/gen_gress -s $(notdir $*).dir -i $(notdir $*).init $(GEN_GRESS_FLAGS) $< > $@; \
36         chmod +x $@; 
37 NEW_DIRECT.t/%.sh:      NEW_DIRECT.tjob
38         $(GRESS_BIN)/gen_gress -s $(notdir $*).dir -i $(notdir $*).init $(GEN_GRESS_FLAGS) $< > $@; \
39         chmod +x $@; 
41 PARSE.t/%.sh:   PARSE.tjob
42         $(GRESS_BIN)/gen_gress -s $(notdir $*).dir -i $(notdir $*).init $(GEN_GRESS_FLAGS) $< > $@; \
43         chmod +x $@; 
45 XFORM.t/%.sh:   XFORM.tjob
46         $(GRESS_BIN)/gen_gress -s $(notdir $*).dir -i $(notdir $*).init $(GEN_GRESS_FLAGS) $< > $@; \
47         chmod +x $@;