[PATCH 1/2] Use --force to overwrite python files
- From
- Pavel Roskin <proski@gnu.org>
- Date
- Aug 31, 2007, 03:04 UTC
- Message-ID
- <20070831030449.22554.49699.stgit@dv.roinet.com>
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> ---
Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index 8671209..c890b8e 100644 --- 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