]> git.armaanb.net Git - asd-repo.git/blobdiff - core/git/build
git: update libcurl
[asd-repo.git] / core / git / build
index 085231ba1b63ea220cf6743f7680df218e76feef..16bea6fec6abee25b438bc78b72c461f640d6c85 100755 (executable)
@@ -7,6 +7,7 @@ NO_GETTEXT=YesPlease
 NO_SVN_TESTS=YesPlease
 NO_TCLTK=YesPlease
 NO_NSEC=YesPlease
+NO_PERL=YesPlease
 NO_SVN_TESTS=YesPlease
 NO_SYS_POLL_H=1
 NO_CROSS_DIRECTORY_HARDLINKS=1
@@ -20,10 +21,7 @@ EOF
     ac_cv_snprintf_returns_bogus=no \
     ac_cv_fread_reads_directories=yes
 
-make LIBS="$(curl-config --static-libs) libgit.a xdiff/lib.a -lz"
-make DESTDIR="$1" install
+gmake LIBS="$(curl-config --static-libs) libgit.a xdiff/lib.a -lz"
+gmake DESTDIR="$1" install
 
-cp -rf man "$1/usr/share/man"
-rm -rf \
-    "$1/usr/share/gitweb" \
-    "$1/usr/share/git-core/templates/hooks/*"
+cp -Rf man "$1/usr/share/man"