OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../git/git.conf
  5. # Copyright (C) 2007 - 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. for x in tk:tcltk python; do
  15. if ! pkginstalled ${x%:*}; then
  16. echo_warning "disabling ${x#*:} support"
  17. var_append extraconfopt ' ' "--without-${x#*:}"
  18. fi
  19. done
  20. var_append makeopt ' ' 'gitweb'
  21. # install perl modules into 'vendor_perl' directory
  22. var_append makeinstopt ' ' "INSTALLDIRS=vendor"
  23. var_append makeinstopt ' ' 'gitwebdir=$root$docdir/gitweb'
  24. var_append makeinstopt ' ' 'install-gitweb'
  25. if pkginstalled -f asciidoc; then
  26. # documentation is written for AsciiDoc 7, but we use Asciidoc 8
  27. var_append makeopt ' ' 'ASCIIDOC8=YesPlease'
  28. var_append makeopt ' ' 'html'
  29. var_append makeinstopt ' ' 'install-html'
  30. # build/install man pages
  31. if pkginstalled -f xmlto; then
  32. var_append makeopt ' ' 'man'
  33. var_append makeinstopt ' ' 'install-man'
  34. fi
  35. fi
  36. git_contrib_install() {
  37. tar -cf - contrib | tar -C "$root$docdir" -xvf -
  38. }
  39. hook_add postmake 5 'git_contrib_install'