Imported Debian patch 2.0.1+dfsg-1
[packages/binwalk.git] / debian / patches / destdir.patch
1 Author: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
2 Description: install the program in DESTDIR std location, patch already merged upstream
3 --- a/Makefile.in
4 +++ b/Makefile.in
5 @@ -22,7 +22,7 @@
6  ifeq ($(strip $(prefix)),)
7         PREFIX=""
8  else
9 -       PREFIX="--prefix=$(prefix)"
10 +       PREFIX="--prefix=$(DESTDIR)$(prefix)"
11  endif
12  
13  .PHONY: all install build deps clean uninstall