Commit b542760e authored by Federico Vaga's avatar Federico Vaga

doc: use makefile variable for tools

Tools could be deployed in many different places, for this reason is
safer to assume that they are in PATH, and offer en environment variable
to handle exceptions.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent a8fe24b8
......@@ -41,10 +41,13 @@ rest: $(REST)
.PHONY: clean
CHEBY_BUILD=(cd $(dir $<); ~/.local/bin/cheby -i $(notdir $<) --gen-doc --doc html) > $@
CHEBY_BUILD_REST=(cd $(dir $<); ~/.local/bin/cheby -i $(notdir $<) --gen-doc --doc rest) > $@
WBGEN2_BUILD=(~/wr/tdc/wishbone-gen/wbgen2 -D $@ $<)
WBGEN2_BUILD_TEX=(~/wr/tdc/wishbone-gen/wbgen2 -f latex -D $@ $<)
CHEBY ?= cheby
WBGEN2 ?= wbgen2
CHEBY_BUILD=(cd $(dir $<); $(CHEBY) -i $(notdir $<) --gen-doc --doc html) > $@
CHEBY_BUILD_REST=(cd $(dir $<); $(CHEBY) -i $(notdir $<) --gen-doc --doc rest) > $@
WBGEN2_BUILD=($(WBGEN2) -D $@ $<)
WBGEN2_BUILD_TEX=($(WBGEN2) -f latex -D $@ $<)
fmc_tdc_mezzanine_mmap.htm: $(TOP_DIR)/hdl/cheby/fmc_tdc_mezzanine_mmap.cheby
$(CHEBY_BUILD)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment