Skip to content

Commit

Permalink
docs-rst: fix media cleandocs target
Browse files Browse the repository at this point in the history
The builddir prefix was missing on make cleandocs. Fix it.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
mchehab authored and Jonathan Corbet committed Dec 1, 2016
1 parent bf5bfe8 commit 293fbd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile.sphinx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ installmandocs:

cleandocs:
$(Q)rm -rf $(BUILDDIR)
$(Q)$(MAKE) -C Documentation/media clean
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) -C Documentation/media clean

endif # HAVE_SPHINX

Expand Down
2 changes: 1 addition & 1 deletion Documentation/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ xml: all
latex: $(IMGPDF) all

clean:
-rm -f $(DOTTGT) $(IMGTGT) $(patsubst %,$(SRC_DIR)/%,${TARGETS}) 2>/dev/null
-rm -f $(DOTTGT) $(IMGTGT) ${TARGETS} 2>/dev/null

$(BUILDDIR):
$(Q)mkdir -p $@

0 comments on commit 293fbd4

Please sign in to comment.