diff options
Diffstat (limited to 'doc/SConscript')
-rw-r--r-- | doc/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/SConscript b/doc/SConscript index 0356bf5..185cad0 100644 --- a/doc/SConscript +++ b/doc/SConscript @@ -280,5 +280,6 @@ if man2html: # Now actually create the tar file of the documentation, # for easy distribution to the web site. # -env.Command(doc_tar_gz, tar_deps, - "tar zch -f $TARGET -C build/doc %s" % tar_list) +if tar_deps: + env.Command(doc_tar_gz, tar_deps, + "tar zc${TAR_HFLAG} -f $TARGET -C build/doc %s" % tar_list) |