docs/Makefile

changeset 754
4bc7d966c9db
parent 753
24dc84788dee
child 765
b5128bb44459
     1.1 --- a/docs/Makefile	Thu Oct 12 00:00:35 2023 +0200
     1.2 +++ b/docs/Makefile	Wed Oct 18 21:07:02 2023 +0200
     1.3 @@ -24,34 +24,34 @@
     1.4  include ../config.mk
     1.5  
     1.6  PAGES = index features install license modules-ucx2
     1.7 -DOCS_HTML = $(PAGES:%=$(DOCS_DIR)/web/%.html)
     1.8 -DOCS_CSS  = $(DOCS_DIR)/web/ucx.css
     1.9 +DOCS_HTML = $(PAGES:%=$(docs_dir)/web/%.html)
    1.10 +DOCS_CSS  = $(docs_dir)/web/ucx.css
    1.11  
    1.12  all: all-html all-api
    1.13  
    1.14 -all-html: $(DOCS_DIR)/web $(DOCS_HTML) $(DOCS_CSS) FORCE
    1.15 +all-html: $(docs_dir)/web $(DOCS_HTML) $(DOCS_CSS) FORCE
    1.16  	@echo "[ HTML Docs Generated ]"
    1.17  
    1.18 -all-api: $(DOCS_DIR)/web $(DOCS_DIR)/web/api-2.1 $(DOCS_DIR)/web/api FORCE
    1.19 +all-api: $(docs_dir)/web $(docs_dir)/web/api-2.1 $(docs_dir)/web/api FORCE
    1.20  	@echo "[ API Docs Generated ]"
    1.21  
    1.22 -$(DOCS_DIR)/web/api-2.1: api-2.1 FORCE
    1.23 +$(docs_dir)/web/api-2.1: api-2.1 FORCE
    1.24  	$(COPYALL) $< $@
    1.25  
    1.26 -$(DOCS_DIR)/web/api: FORCE
    1.27 +$(docs_dir)/web/api: FORCE
    1.28  	cd $(src_dir); $(DOXYGEN)
    1.29  
    1.30 -$(DOCS_DIR)/web:
    1.31 +$(docs_dir)/web:
    1.32  	$(MKDIR) $@
    1.33  
    1.34  $(DOCS_CSS): src/ucx.css
    1.35  	$(COPYFILE) $< $@
    1.36  
    1.37 -$(DOCS_DIR)/web/modules-ucx2.html: src/modules-ucx2.md
    1.38 +$(docs_dir)/web/modules-ucx2.html: src/modules-ucx2.md
    1.39  	$(PANDOC) -c ucx.css -B src/header-ucx2.html -A src/footer.html \
    1.40  		-T 'UAP Common Extensions' -o $@ $<
    1.41  
    1.42 -$(DOCS_DIR)/web/%.html: src/%.md
    1.43 +$(docs_dir)/web/%.html: src/%.md
    1.44  	$(PANDOC) -c ucx.css -B src/header.html -A src/footer.html \
    1.45  		-T 'UAP Common Extensions' -o $@ $<
    1.46  

mercurial