ViitorMake/BaseBuild/distdirs
kueller d0126e908f V961 Tree Umbau
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/ViitorMake@4277 504e572c-2e33-0410-9681-be2bf7408885
2008-05-03 16:58:54 +00:00

79 lines
1.8 KiB
Bash

#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt
#
#Lage dieser Datei im Archiv: $HeadURL$
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#Beschreibung:
#Legt die Distribution Verzeichnisse an
#
#Aufrufparameter:
#keine
#
#Letzte Änderung von: $Author$
#Datum der letzten Änderung: $Date$
#Version der Datei: $Revision$
#
STOREDIR=`pwd`
source $VMAKEDIR/defsys
if [ ! -d "$DISTTARGET" ]; then
echo "$DISTTARGET Existiert nicht!"
exit 1
fi
cd $DISTTARGET
if [ ! -d Base ]; then
mkdir Base
fi
cd Base
for i in Database Development Kernel lib Net System Utilities; do
if [ ! -d $i ]; then
mkdir -p $i
fi
done
cd ..
for i in HA Tools X11 X11_2; do
if [ ! -d $i ]; then
mkdir $i
fi
cd $i
for j in Database Grafik MultiMedia Office System \
Development lib Net Utilities Gnome KDE; do
if [ ! -d $j ]; then
mkdir $j
fi
done
if [ $i == "X11" ]; then
if [ ! -d Windowmgr ]; then
mkdir Windowmgr
fi
if [ ! -d KDE ]; then
mkdir KDE
fi
fi
cd ..
done
mkdir -p XServ/{App,Data,Doc,Driver,Extras,Font,Lib,Proto,Util,Server}
cd $STOREDIR