]> git.armaanb.net Git - asd-repo.git/blobdiff - core/git/build
git: update libcurl
[asd-repo.git] / core / git / build
index 93dc343c87d210a905de5baf4ed0e2fce6bc47b5..16bea6fec6abee25b438bc78b72c461f640d6c85 100755 (executable)
@@ -7,11 +7,11 @@ 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
 NO_INSTALL_HARDLINKS=1
-NO_PERL=YesPlease
 EOF
 
 ./configure \
@@ -24,7 +24,4 @@ EOF
 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"