diff options
author | hut <hut@lavabit.com> | 2010-05-17 22:46:42 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-05-17 22:46:42 +0200 |
commit | ec598fc7e3919abe2b157592c9a42acaeb3c2e7c (patch) | |
tree | 3453f067376d360ca297396ce607b192ddc76f77 /Makefile | |
parent | 4fc56903c47660d827c7bf27a30395498f72ee21 (diff) | |
download | ranger-ec598fc7e3919abe2b157592c9a42acaeb3c2e7c.tar.gz |
make: added DESTDIR to Makefile
Patch by David Woodfall
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile index 1f75728c..9cc822a1 100644 --- a/Makefile +++ b/Makefile @@ -58,15 +58,15 @@ install: false; \ fi @echo "Installing $(NAME) version $(VERSION)..." - @mkdir -p $(PREFIX)/bin - cp -f ranger.py $(PREFIX)/bin/ranger - @mkdir -p $(PYTHON_SITE_DEST) - cp -fruT ranger $(PYTHON_SITE_DEST)/ranger - @chmod 755 $(PREFIX)/bin/ranger - @chmod -R +rX $(PYTHON_SITE_DEST)/ranger - @mkdir -p $(PREFIX)$(MANPREFIX)/man1 - cp -f doc/ranger.1 $(PREFIX)$(MANPREFIX)/man1/ranger.1 - @chmod 644 $(PREFIX)$(MANPREFIX)/man1/ranger.1 + @mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f ranger.py $(DESTDIR)$(PREFIX)/bin/ranger + @mkdir -p $(DESTDIR)$(PYTHON_SITE_DEST) + cp -fruT ranger $(DESTDIR)$(PYTHON_SITE_DEST)/ranger + @chmod 755 $(DESTDIR)$(PREFIX)/bin/ranger + @chmod -R +rX $(DESTDIR)$(PYTHON_SITE_DEST)/ranger + @mkdir -p $(DESTDIR)$(PREFIX)$(MANPREFIX)/man1 + cp -f doc/ranger.1 $(DESTDIR)$(PREFIX)$(MANPREFIX)/man1/ranger.1 + @chmod 644 $(DESTDIR)$(PREFIX)$(MANPREFIX)/man1/ranger.1 uninstall: rm -f $(PREFIX)/bin/ranger |