Browse Source

pkgsel: Changed DEVELOPMENT to use SDECFG_FILTER_NODEVEL instead of own stuff

legacy/next/gcc
Alejandro Mery 16 years ago
parent
commit
1ed9ce40ac
2 changed files with 23 additions and 22 deletions
  1. +4
    -22
      parse-config
  2. +19
    -0
      pkgsel/Development.conf

+ 4
- 22
parse-config

@ -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() {

+ 19
- 0
pkgsel/Development.conf

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/mnemosyne/pkgsel/Development.conf
# Copyright (C) 2008 The OpenSDE Project
#
# 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
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ "$2" = 1 ]; then
SDECFGSET_FILTER_NODEVEL=0
else
SDECFGSET_FILTER_NODEVEL=1
fi

Loading…
Cancel
Save