commit | ca475abb09fc761e06720b15d05f33710a17409c | [log] [tgz] |
---|---|---|
author | Kiall Mac Innes <kiall@managedit.ie> | 周二 4月 26 00:15:01 2011 +0100 |
committer | Kiall Mac Innes <kiall@managedit.ie> | 周二 4月 26 00:15:01 2011 +0100 |
tree | 223971f5a833f979305bd64f1fe3df34e744f3a9 | |
parent | a7a89cdb13e0022c67fe2cd688708826828a60d6 [diff] [blame] |
Add debian/ubuntu packaging.
diff --git a/Makefile b/Makefile index 6f82544..764bd23 100644 --- a/Makefile +++ b/Makefile
@@ -26,7 +26,13 @@ # those of the authors and should not be interpreted as representing official # policies, either expressed or implied, of Vincent Driessen. # -prefix=/usr/local + +# Determine if we're inside a debian build .. +ifdef DEB_BUILD_ARCH + prefix=$(DESTDIR)/usr/ +else + prefix=/usr/local +endif # files that need mode 755 EXEC_FILES=git-flow