chiark / gitweb /
Use --force to overwrite python files
authorPavel Roskin <proski@gnu.org>
Fri, 31 Aug 2007 03:04:49 +0000 (23:04 -0400)
committerKarl Hasselström <kha@treskal.com>
Fri, 31 Aug 2007 18:46:39 +0000 (20:46 +0200)
Installing StGIT with "make install" is not working properly if another
version is installed.  Files under ~/lib/python2.5/site-packages/stgit
are not updated.

This causes unexpected problems if switching between different branches
of StGIT.

Using "--force" ensures that the files in the tree are installed even if
the already installed files are newer.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Karl Hasselström <kha@treskal.com>
Makefile

index 8671209466d78e2b528a7f6565c1a30b903dc6ce..c890b8ed0a786b0be48661c7b9837d1eb6d0ebdb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ all:
        $(PYTHON) setup.py build
 
 install:
-       $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
+       $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
 
 doc:
        cd Documentation && $(MAKE) all