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"""