aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-flow/add-destdir-support.patch
blob: aea98123c4e7fc9e3bda57f00a54a069721ddb00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
The Makefile doesn't provide a way to install into a custom directory

--- old/Makefile
+++ new/Makefile
@@ -26,7 +26,7 @@
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-prefix=/usr/local
+prefix=$(DESTDIR)/usr
 
 datarootdir=$(prefix)/share
 docdir=$(datarootdir)/doc/gitflow