diff options
-rw-r--r-- | Documentation/Makefile.sphinx | 3 | ||||
-rw-r--r-- | Documentation/media/Makefile | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx index 857f1e273418..d24a9f12a280 100644 --- a/Documentation/Makefile.sphinx +++ b/Documentation/Makefile.sphinx | |||
@@ -38,10 +38,9 @@ ALLSPHINXOPTS = -D version=$(KERNELVERSION) -D release=$(KERNELRELEASE) -d $(B | |||
38 | I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . | 38 | I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . |
39 | 39 | ||
40 | quiet_cmd_sphinx = SPHINX $@ | 40 | quiet_cmd_sphinx = SPHINX $@ |
41 | cmd_sphinx = BUILDDIR=$(BUILDDIR) $(SPHINXBUILD) -b $2 $(ALLSPHINXOPTS) $(BUILDDIR)/$2 | 41 | cmd_sphinx = $(MAKE) BUILDDIR=$(BUILDDIR) $(build)=Documentation/media all; BUILDDIR=$(BUILDDIR) $(SPHINXBUILD) -b $2 $(ALLSPHINXOPTS) $(BUILDDIR)/$2 |
42 | 42 | ||
43 | htmldocs: | 43 | htmldocs: |
44 | $(MAKE) BUILDDIR=$(BUILDDIR) -f $(srctree)/Documentation/media/Makefile $@ | ||
45 | $(call cmd,sphinx,html) | 44 | $(call cmd,sphinx,html) |
46 | 45 | ||
47 | pdfdocs: | 46 | pdfdocs: |
diff --git a/Documentation/media/Makefile b/Documentation/media/Makefile index 39e2d766dbe3..a7fb35291f6c 100644 --- a/Documentation/media/Makefile +++ b/Documentation/media/Makefile | |||
@@ -10,7 +10,8 @@ FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \ | |||
10 | 10 | ||
11 | TARGETS := $(addprefix $(BUILDDIR)/, $(FILES)) | 11 | TARGETS := $(addprefix $(BUILDDIR)/, $(FILES)) |
12 | 12 | ||
13 | htmldocs: $(BUILDDIR) ${TARGETS} | 13 | .PHONY: all |
14 | all: $(BUILDDIR) ${TARGETS} | ||
14 | 15 | ||
15 | $(BUILDDIR): | 16 | $(BUILDDIR): |
16 | $(Q)mkdir -p $@ | 17 | $(Q)mkdir -p $@ |