ack/first/mk_target

42 lines
887 B
Plaintext
Raw Normal View History

#!/bin/sh
1991-10-15 16:02:38 +00:00
set -e
: machine-dependant stuff
create_dir $TARGET_HOME
create_dir $TARGET_HOME/config
create_dir $TARGET_HOME/lib.bin
create_dir $TARGET_HOME/modules
1995-08-14 15:07:53 +00:00
create_dir $TARGET_HOME/modules/h
1991-10-15 16:02:38 +00:00
create_dir $TARGET_HOME/bin
1991-10-18 10:02:44 +00:00
1991-10-15 16:02:38 +00:00
cp local.h em_path.h $TARGET_HOME/config
cp_dir $SRC_HOME/bin $TARGET_HOME/bin
cp $CONFIG/bin/cp_dir $TARGET_HOME/bin/cp_dir
1991-10-15 16:02:38 +00:00
echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys
chmod +x $TARGET_HOME/bin/ack_sys
1991-10-15 16:02:38 +00:00
: machine-independant stuff
if [ $DO_MACHINE_INDEP = n ]
then
exit 0
fi
create_dir $TARGET_HOME/lib
create_dir $TARGET_HOME/etc
create_dir $TARGET_HOME/h
create_dir $TARGET_HOME/include
create_dir $TARGET_HOME/doc
cp $SRC_HOME/etc/ip_spec.t $TARGET_HOME/etc/ip_spec.t
cp_dir $SRC_HOME/lib $TARGET_HOME/lib
cp_dir $SRC_HOME/h $TARGET_HOME/h
cp_dir $SRC_HOME/include $TARGET_HOME/include
1991-10-15 16:02:38 +00:00
1991-10-18 10:07:38 +00:00
cd $TARGET_HOME
find . -type f -exec chmod +w {} \;
1991-10-15 16:02:38 +00:00
exit 0