From: tcely Date: Tue, 1 Aug 2017 12:07:52 +0000 (-0400) Subject: Try to limit the scanned files. X-Git-Tag: dnsdist-1.4.0-rc3~42^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=601bae518ae5d1d154b26d84ca841c9381bd2675;p=thirdparty%2Fpdns.git Try to limit the scanned files. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 13efb44448..9c04813a50 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -62,11 +62,11 @@ EXTRA_DIST = $(MANPAGES_DIST) if HAVE_VIRTUALENV if !HAVE_MANPAGES $(MANPAGES_DIST): %: manpages/%.rst mans - mv "mans/$@" "$@" || { rm -rf mans; false; } + mv "mans/$@" "$@" endif # if !HAVE_MANPAGES mans: .venv - rm -rf "$@"; .venv/bin/python -msphinx -b man . "$@" $(addprefix,manpages/,$(addsuffix,.rst,$(MANPAGES_DIST))) + rm -rf "$@.tmp"; .venv/bin/python -msphinx -b man -c . manpages "$@.tmp" && mv "$@.tmp" "$@"; rm -rf "$@.tmp" .venv: requirements.txt virtualenv .venv