summaryrefslogtreecommitdiff
path: root/share/spack
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack')
-rw-r--r--share/spack/templates/depfile/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/spack/templates/depfile/Makefile b/share/spack/templates/depfile/Makefile
index 5078f0016f..dc0aeb79ea 100644
--- a/share/spack/templates/depfile/Makefile
+++ b/share/spack/templates/depfile/Makefile
@@ -18,6 +18,9 @@ SPACK ?= spack
{{ jobserver_support }}$(SPACK) -e '{{ environment }}' install $(SPACK_BUILDCACHE_FLAG) $(SPACK_INSTALL_FLAGS) --only-concrete --only=package --no-add /$(notdir $@) # $(SPEC)
@touch $@
+{{ install_deps_target }}/%: | {{ dirs_target }}
+ @touch $@
+
# Set a human-readable SPEC variable for each target that has a hash
{% for (parent, name, build_cache, _) in adjacency_list -%}
{{ any_hash_target }}/{{ parent }}: SPEC = {{ name }}