diff -r 24dc84788dee -r 4bc7d966c9db docs/Makefile --- a/docs/Makefile Thu Oct 12 00:00:35 2023 +0200 +++ b/docs/Makefile Wed Oct 18 21:07:02 2023 +0200 @@ -24,34 +24,34 @@ include ../config.mk PAGES = index features install license modules-ucx2 -DOCS_HTML = $(PAGES:%=$(DOCS_DIR)/web/%.html) -DOCS_CSS = $(DOCS_DIR)/web/ucx.css +DOCS_HTML = $(PAGES:%=$(docs_dir)/web/%.html) +DOCS_CSS = $(docs_dir)/web/ucx.css all: all-html all-api -all-html: $(DOCS_DIR)/web $(DOCS_HTML) $(DOCS_CSS) FORCE +all-html: $(docs_dir)/web $(DOCS_HTML) $(DOCS_CSS) FORCE @echo "[ HTML Docs Generated ]" -all-api: $(DOCS_DIR)/web $(DOCS_DIR)/web/api-2.1 $(DOCS_DIR)/web/api FORCE +all-api: $(docs_dir)/web $(docs_dir)/web/api-2.1 $(docs_dir)/web/api FORCE @echo "[ API Docs Generated ]" -$(DOCS_DIR)/web/api-2.1: api-2.1 FORCE +$(docs_dir)/web/api-2.1: api-2.1 FORCE $(COPYALL) $< $@ -$(DOCS_DIR)/web/api: FORCE +$(docs_dir)/web/api: FORCE cd $(src_dir); $(DOXYGEN) -$(DOCS_DIR)/web: +$(docs_dir)/web: $(MKDIR) $@ $(DOCS_CSS): src/ucx.css $(COPYFILE) $< $@ -$(DOCS_DIR)/web/modules-ucx2.html: src/modules-ucx2.md +$(docs_dir)/web/modules-ucx2.html: src/modules-ucx2.md $(PANDOC) -c ucx.css -B src/header-ucx2.html -A src/footer.html \ -T 'UAP Common Extensions' -o $@ $< -$(DOCS_DIR)/web/%.html: src/%.md +$(docs_dir)/web/%.html: src/%.md $(PANDOC) -c ucx.css -B src/header.html -A src/footer.html \ -T 'UAP Common Extensions' -o $@ $<