python: Fix "make distcheck" error on version.py.
authorBen Pfaff <blp@nicira.com>
Mon, 12 Mar 2012 17:34:22 +0000 (10:34 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 19 Mar 2012 18:04:02 +0000 (11:04 -0700)
commit45db068c679242d411d4b5c45caa973f6b948977
tree12a6c8fe59770806b515fdfe2b6b25e132d60750
parent4621c036205b8e7c9fe34507d14502455996bf10
python: Fix "make distcheck" error on version.py.

The generated version.py has to go in the srcdir and has to be regenerated
based on config.status, which breaks "make distcheck" because it
write-protects the srcdir.  However, the contents of version.py only change
when the version number changes, so we can just "touch" it when it doesn't
really need to change.

The same pattern is used elsewhere in the tree for other files in the same
situation, e.g. the various RPM spec files.

Reported-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
python/automake.mk