Do not special case publish flag for www only change

If only www files are changed, do not build all books unless
--force is given.

Change-Id: I5fd67679ee86e3b83594d057ddfce7b42f4567b3
This commit is contained in:
Andreas Jaeger 2014-05-16 11:51:40 -04:00
parent a79e547a5b
commit bd36d6f4b8
1 changed files with 1 additions and 1 deletions

View File

@ -1413,7 +1413,7 @@ def main():
(www_touched(False) and not CONF.publish)):
publish_www()
if not CONF.publish and not CONF.force and www_touched(True):
if not CONF.force and www_touched(True):
print("Only files in www directory changed, nothing to do.\n")
return