summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2007-10-18 17:22:13 -0500
committerMichael E Brown <michael_e_brown@dell.com>2007-10-18 17:22:13 -0500
commit1763fc3d166624ff101b198fcd76db5e0d8a94a7 (patch)
tree18034265e6b016a94ac2357f5b24d3c739dc59ec /Makefile.in
parent9d4e909bdb995734fb80a074cbfee90b1d0f2dee (diff)
downloadmock-1763fc3d166624ff101b198fcd76db5e0d8a94a7.tar.gz
mock-1763fc3d166624ff101b198fcd76db5e0d8a94a7.tar.xz
mock-1763fc3d166624ff101b198fcd76db5e0d8a94a7.zip
finally fix deps for src/mock.py so it is re-edited at correct times.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 13461e1..1f13918 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -920,9 +920,12 @@ uninstall-man: uninstall-man1
uninstall-pkgpythonPYTHON
-$(top_builddir)/src/mock.py: $(top_srcdir)/src/mock.py
+ # indent a space to get around automake
+ ifneq ($(top_builddir),$(top_srcdir))
+ $(top_builddir)/src/mock.py: $(top_srcdir)/src/mock.py
+ endif
-src/mock.py: configure.ac Makefile.am
+src/mock.py: Makefile
echo Updating $@, current pwd: $$(pwd)
cp -f $(top_srcdir)/$@ $(top_builddir)/$@.new
perl -p -i -e 's|^__VERSION__=.*|__VERSION__="$(RELEASE_VERSION)"|' $(top_builddir)/$@.new