From 6c7d15f493c2b913c4ee51204a107d4494b4eb19 Mon Sep 17 00:00:00 2001
From: Julien Rioux <jrioux@physics.utoronto.ca>
Date: Sun, 18 Dec 2011 19:25:50 -0500
Subject: [PATCH] Build: Version dependency for python modules (issue 1726).

---
 stepmake/stepmake/python-module-rules.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stepmake/stepmake/python-module-rules.make b/stepmake/stepmake/python-module-rules.make
index f32732f584..bf99f8feaa 100644
--- a/stepmake/stepmake/python-module-rules.make
+++ b/stepmake/stepmake/python-module-rules.make
@@ -8,7 +8,7 @@ $(outdir)/%.pyc: $(outdir)/%.py
 $(outdir)/%.pyo: $(outdir)/%.py
 	$(PYTHON) -O -c 'import py_compile; py_compile.compile ("$<")'
 
-$(outdir)/%.py: %.py $(config_make)
+$(outdir)/%.py: %.py $(config_make) $(depth)/VERSION
 	cat $< | sed $(sed-atfiles) | sed $(sed-atvariables) > $@
 	chmod 755 $@
 
-- 
2.39.5