mirror of https://github.com/Icinga/icinga2.git
Documentation: implement make target for asciidoc generation
similar to 1.x, 'make create-docs' fixes #3230
This commit is contained in:
parent
cdd3d566af
commit
dbf6bccea3
|
@ -79,3 +79,8 @@ dist-hook: icinga-version.stamp
|
||||||
$(SED) -e 's|^#undef GIT_IS_DIST.*|#define GIT_IS_DIST 1|' \
|
$(SED) -e 's|^#undef GIT_IS_DIST.*|#define GIT_IS_DIST 1|' \
|
||||||
"icinga-version.h" > "$(distdir)/icinga-version.h"; \
|
"icinga-version.h" > "$(distdir)/icinga-version.h"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
SRC_DOCS = "./docs"
|
||||||
|
|
||||||
|
create-docs:
|
||||||
|
cd $(SRC_DOCS) && $(MAKE)
|
||||||
|
|
|
@ -99,6 +99,7 @@ components/delegation/Makefile
|
||||||
components/demo/Makefile
|
components/demo/Makefile
|
||||||
components/replication/Makefile
|
components/replication/Makefile
|
||||||
docs/Doxyfile
|
docs/Doxyfile
|
||||||
|
docs/Makefile
|
||||||
etc/Makefile
|
etc/Makefile
|
||||||
etc/icinga2/Makefile
|
etc/icinga2/Makefile
|
||||||
etc/init.d/Makefile
|
etc/init.d/Makefile
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
all: create-docs
|
||||||
|
|
||||||
|
create-docs:
|
||||||
|
for file in *.txt; \
|
||||||
|
do asciidoc -a toc -a numbered $$file; \
|
||||||
|
done
|
Loading…
Reference in New Issue