Lines Matching defs:PROTO
65 PROTO=../../proto/dev-guide
129 mkdir -p $(PROTO)
130 @cp macros.txt $(PROTO)
131 @echo ".. |version| replace:: $(VERSTAMP)" >> $(PROTO)/macros.txt
140 check: $(BOOK_FRAGMENTS:%.txt=$(PROTO)/%.pdf) book
141 copy: $(BOOK_FRAGMENTS:%.txt=$(PROTO)/%.txt)
144 $(MAKE) BOOK_OPT=-b1 $(PROTO)/book.pdf
147 $(MAKE) $(PROTO)/book.xml
156 gsed -re 's#\*(Appendix [AB])\*#`\1`_#g' > $(PROTO)/book.txt
159 cp $(PROTO)/book.txt book.txt
161 $(PROTO)/%.txt: proto
162 cp $*.txt $(PROTO)
163 @cat $(PROTO)/macros.txt >> $(PROTO)/$*.txt
165 $(PROTO)/%.pdf: tools proto $(PROTO)/%.txt
166 @print "creating $(PROTO)/$*.pdf"
167 $(RST2PDF) -o $@ $(PROTO)/$*.txt 2> $(DOCTMP)/$*.rst-output.txt
177 $(PROTO)/%.xml: tools proto $(PROTO)/%.txt
178 @print "creating $(PROTO)/$*.xml"
179 $(RST2DOCBOOK) $(PROTO)/$*.txt $@
182 %.txt: $(PROTO)/%.txt
183 %.pdf: $(PROTO)/%.txt $(PROTO)/%.pdf
186 rm -rf $(PROTO) $(DOCTMP)