summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-11-02 16:04:35 +0100
committerGitHub <noreply@github.com>2023-11-02 16:04:35 +0100
commit8b0ab67de4d08d3c9015216d1d125c7e442ade0c (patch)
tree88ad62b93a18688e52a21e0588b1d61a5261b1bb /share
parentdbf21bf843dd81721dd0affc3a5c368d8099ff38 (diff)
downloadspack-8b0ab67de4d08d3c9015216d1d125c7e442ade0c.tar.gz
spack-8b0ab67de4d08d3c9015216d1d125c7e442ade0c.tar.bz2
spack-8b0ab67de4d08d3c9015216d1d125c7e442ade0c.tar.xz
spack-8b0ab67de4d08d3c9015216d1d125c7e442ade0c.zip
depfile: deal with empty / non-concrete env (#40816)
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/depfile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/templates/depfile/Makefile b/share/spack/templates/depfile/Makefile
index dde42cf7d5..4b76475267 100644
--- a/share/spack/templates/depfile/Makefile
+++ b/share/spack/templates/depfile/Makefile
@@ -8,7 +8,7 @@ SPACK_INSTALL_FLAGS ?=
{{ all_target }}: {{ env_target }}
-{{ env_target }}: {{ root_install_targets }}
+{{ env_target }}: {{ root_install_targets }} | {{ dirs_target }}
@touch $@
{{ dirs_target }}: