From c11b8ceb097837c61bfea8545a5e1d32bb1b3289 Mon Sep 17 00:00:00 2001 From: bnice5000 Date: Tue, 14 Jun 2016 08:42:48 -0400 Subject: [PATCH] Update rebuild to respect OUTPUT_RETENTION Fixes #1955 --- pelican/tools/templates/fabfile.py.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pelican/tools/templates/fabfile.py.in b/pelican/tools/templates/fabfile.py.in index 5481f84f..18131d5f 100644 --- a/pelican/tools/templates/fabfile.py.in +++ b/pelican/tools/templates/fabfile.py.in @@ -37,9 +37,8 @@ def build(): local('pelican -s pelicanconf.py') def rebuild(): - """`clean` then `build`""" - clean() - build() + """`build` with the delete switch""" + local('pelican -d -s pelicanconf.py') def regenerate(): """Automatically regenerate site upon file modification"""