BASE = ../../.. DOCS = lib PAGES = blk slab crc scenario GRAPHS = DEPS = $(PAGES:%=%.rst) EXTRA_CLEAN_FILES = $(PAGES:%=%.rst) include $(BASE)/common/doc/template/doc.mk TOOLS_DIR = $(BASE)/cesar/common/tools DOC_DIR = $(BASE)/cesar/common/doc EXTRACT_DOC = $(DOC_DIR)/extractdoc DOX2RST = $(DOC_DIR)/dox2rst -I ../scenario %.rst: ../%.h $(EXTRACT_DOC) $< | $(DOX2RST) -w 100% > $@ %.rst: ../scenario/%.h $(EXTRACT_DOC) $< | $(DOX2RST) -w 100% > $@