]> git.armaanb.net Git - asd-repo.git/blobdiff - core/git/build
git: update libcurl
[asd-repo.git] / core / git / build
index 786edb0640982b1de7f18e8c3789c74bfbb313c4..16bea6fec6abee25b438bc78b72c461f640d6c85 100755 (executable)
@@ -6,8 +6,8 @@ cat > config.mak <<EOF
 NO_GETTEXT=YesPlease
 NO_SVN_TESTS=YesPlease
 NO_TCLTK=YesPlease
-NO_EXPAT=YesPlease
 NO_NSEC=YesPlease
+NO_PERL=YesPlease
 NO_SVN_TESTS=YesPlease
 NO_SYS_POLL_H=1
 NO_CROSS_DIRECTORY_HARDLINKS=1
@@ -21,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"