Commit 9e004dff authored by Federico Vaga's avatar Federico Vaga

doc: use one rule to build all html files

Exploit vpath to find the right cheby file
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent c42ac986
......@@ -16,22 +16,12 @@ all: $(HTML)
.PHONY: clean
CHEBY_BUILD=$(CHEBY) -i $< --gen-doc --doc html > $@
vpath %.cheby $(TOP_DIR)/hdl/cheby/
vpath %.cheby $(TOP_DIR)/hdl/ip_cores/spec/hdl/rtl/
vpath %.cheby $(TOP_DIR)/hdl/ip_cores/svec/hdl/rtl/
fmc_adc_mezzanine_mmap.htm: $(TOP_DIR)/hdl/cheby/fmc_adc_mezzanine_mmap.cheby
$(CHEBY_BUILD)
spec_ref_fmc_adc_100Ms_mmap.htm: $(TOP_DIR)/hdl/cheby/spec_ref_fmc_adc_100Ms_mmap.cheby
$(CHEBY_BUILD)
svec_ref_fmc_adc_100Ms_mmap.htm: $(TOP_DIR)/hdl/cheby/svec_ref_fmc_adc_100Ms_mmap.cheby
$(CHEBY_BUILD)
svec_base_regs.htm: $(TOP_DIR)/hdl/ip_cores/svec/hdl/rtl/svec_base_regs.cheby
$(CHEBY_BUILD)
spec_base_regs.htm: $(TOP_DIR)/hdl/ip_cores/spec/hdl/rtl/spec_base_regs.cheby
$(CHEBY_BUILD)
%.htm: %.cheby
$(CHEBY) -i $< --gen-doc --doc html > $@
clean:
@rm -f *.md *.rst *.htm
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