Skip to content

Commit 5ea7d67

Browse files
committed
Merge branch 'topic/doc_install' into 'master'
Add `install` target to `doc/Makefile` See merge request eng/ide/ada_language_server!2004
2 parents 0445d77 + e312a2a commit 5ea7d67

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Minimal makefile for Sphinx documentation
22
#
3+
prefix = $(PWD)
4+
docdir = $(prefix)/share/doc/als
5+
MKDIR = mkdir -p
6+
CP = cp -p
37

48
# You can set these variables from the command line, and also
59
# from the environment for the first two.
@@ -18,3 +22,10 @@ help:
1822
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1923
%: Makefile
2024
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
25+
26+
install:
27+
$(MKDIR) $(docdir)/html
28+
29+
${MKDIR} $(docdir)/html/users_guide/
30+
-${CP} -r _build/html/* $(docdir)/html/users_guide/
31+

0 commit comments

Comments
 (0)