summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-10-25 21:48:24 +0200
committerGitHub <noreply@github.com>2022-10-25 12:48:24 -0700
commit649e2d3e2823d1aa276a6dc0edd8456a5536347d (patch)
tree1fa93e319271ee62f10776744e5af2211cb16a0f /share
parent512f8d14d28ab4fe0667905b899efed1f785c755 (diff)
downloadspack-649e2d3e2823d1aa276a6dc0edd8456a5536347d.tar.gz
spack-649e2d3e2823d1aa276a6dc0edd8456a5536347d.tar.bz2
spack-649e2d3e2823d1aa276a6dc0edd8456a5536347d.tar.xz
spack-649e2d3e2823d1aa276a6dc0edd8456a5536347d.zip
depfile: resurrect lost touch (#33504)
Diffstat (limited to 'share')
-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 }}