summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c10bdfb4..358180ae 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,13 @@ build: manpage updatewui
python setup.py build -f
install: manpage updatewui
- python setup.py install -f
+ if [ $(DESTDIR) != "" ]
+ then
+ APPENDROOT = "--root $(DESTDIR)"
+ else
+ APPENDROOT = ""
+ fi
+ python setup.py install -f $APPENDROOT
devinstall:
make savestate