summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/docs/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py
index 90a08a154e..de84d0e5c8 100644
--- a/lib/spack/docs/conf.py
+++ b/lib/spack/docs/conf.py
@@ -70,6 +70,9 @@ os.environ['COLIFY_SIZE'] = '25x80'
# Generate package list using spack command
#
with open('package_list.rst', 'w') as plist_file:
+ subprocess.check_output(
+ [spack_root + '/bin/spack', 'package-list'])
+
subprocess.Popen(
[spack_root + '/bin/spack', 'package-list'], stdout=plist_file)