|
|
@ -1,12 +1,12 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# Filename: target/mnemosyne/parse-config |
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2008 The OpenSDE Project |
|
|
|
# Copyright (C) 2002 - 2006 Alejandro Mery |
|
|
|
# |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
# |
|
|
|
# This program is free software; you can redistribute it and/or modify |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
@ -53,24 +53,6 @@ mnemosyne_postinstall() { |
|
|
|
esac |
|
|
|
} |
|
|
|
|
|
|
|
if [ "$SDECFG_TRG_MNEMOSYNE_DEVELOPMENT" != 1 ]; then |
|
|
|
echo_status "No developent files will be flisted" |
|
|
|
mnemosyne_flist_no_devel() { |
|
|
|
sed -i -e '/\.\(c\|h\|hpp\|hxx\|a\|la\|m4\|pc\)$/d;' \ |
|
|
|
$builddir/flist.txt |
|
|
|
|
|
|
|
case "$pkg" in |
|
|
|
gcc) |
|
|
|
sed -i -e '/^usr\/\(bin\|include\|libexec\|lib\/gcc\|share\)/d;' -e '/lib\/cpp/d;' $builddir/flist.txt |
|
|
|
;; |
|
|
|
glibc) |
|
|
|
sed -i -e '/^usr\/include/d;' $builddir/flist.txt |
|
|
|
;; |
|
|
|
esac |
|
|
|
} |
|
|
|
hook_add postflist 5 "mnemosyne_flist_no_devel" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ "$SDECFG_TRG_MNEMOSYNE_DOC" == "minimal" ]; then |
|
|
|
echo_status "Just minimal documentation files will be flisted" |
|
|
|
mnemosyne_flist_just_minimal_docs() { |
|
|
|