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.

43 lines
1.3 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. var_append makeinstopt ' ' 'gitwebdir=$root$docdir/gitweb'
  22. var_append makeinstopt ' ' 'install-gitweb'
  23. if pkginstalled -f asciidoc; then
  24. # documentation is written for AsciiDoc 7, but we use Asciidoc 8
  25. var_append makeopt ' ' 'ASCIIDOC8=YesPlease'
  26. var_append makeopt ' ' 'html'
  27. var_append makeinstopt ' ' 'install-html'
  28. # build/install man pages
  29. if pkginstalled -f xmlto; then
  30. var_append makeopt ' ' 'man'
  31. var_append makeinstopt ' ' 'install-man'
  32. fi
  33. fi
  34. git_contrib_install() {
  35. tar -cf - contrib | tar -C "$root$docdir" -xvf -
  36. }
  37. hook_add postmake 5 'git_contrib_install'