Skip to content

Commit

Permalink
adapted makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 20, 2018
1 parent cad32c2 commit 782ac28
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/debian/docs
@@ -1,5 +1,5 @@
manuals/en/main/bareos-manual-main-reference.pdf
manuals/en/main/html/
manuals/en/main/build/html/
manuals/en/main/build/latex/BareosMainReference.pdf
manuals/en/main/build/BareosMainReference/
#manuals/en/main/build/latex/BareosMainReference.pdf
manuals/en/developers/html/
14 changes: 11 additions & 3 deletions docs/manuals/en/main/Makefile.sphinx
Expand Up @@ -12,9 +12,17 @@ BUILDDIR = build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile.sphinx

html:
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
mv "$(BUILDDIR)/html" BareosMainReference
@$(SPHINXBUILD) -M latexpdf "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

packageclean:
rm -Rf $(BUILDDIR)/*

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile.sphinx
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
#%: Makefile
# @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

0 comments on commit 782ac28

Please sign in to comment.