Mnemosyne is a abstract distribution originally designed for ROCKLinux, but currently only support the trunk of OpenSDE.
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.

35 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: target/mnemosyne/parse-config
  5. # Copyright (C) 2006 - 2008 The OpenSDE Project
  6. # Copyright (C) 2002 - 2006 Alejandro Mery
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. mnemosynedir=$base/target/$SDECFG_TRG_MNEMOSYNE
  16. # tweak config
  17. [ ! -f $mnemosynedir/pkg_conf/$pkg.conf ] || . $mnemosynedir/pkg_conf/$pkg.conf
  18. # append patches
  19. [ ! -f $mnemosynedir/pkg_patch/$pkg.patch ] || var_append patchfiles ' ' $mnemosynedir/pkg_patch/$pkg.patch
  20. unset mnemosynedir
  21. # check overlays
  22. . target/$SDECFG_TRG_MNEMOSYNE/overlay.in
  23. if [ "$SDECFG_TRG_MNEMOSYNE_DOC" == "minimal" ]; then
  24. echo_status "Just minimal documentation files will be flisted"
  25. mnemosyne_flist_just_minimal_docs() {
  26. sed -i -e '/\.\(html\|pdf\|ps\|tex\)$/d;' \
  27. -e '/\.\(gif\|jpg\|png\)$/d;' \
  28. -e "/.*\/share\/\(doc\|gtk-doc\).*\/html\/.*/d;" \
  29. $builddir/flist.txt
  30. }
  31. hook_add postflist 5 "mnemosyne_flist_just_minimal_docs"
  32. fi