From: ceriel Date: Fri, 18 Oct 1991 12:00:42 +0000 (+0000) Subject: Allow mk_config to run over existing tree, make ack_sys executable X-Git-Tag: release-5-5~713 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b4ba1a6aca43a1634ac52752455196cd33e390ad;p=ack.git Allow mk_config to run over existing tree, make ack_sys executable --- diff --git a/first/mk_config b/first/mk_config index 696991a2c..18146cc5c 100755 --- a/first/mk_config +++ b/first/mk_config @@ -14,9 +14,15 @@ cd $SRC_HOME find . -type d -print > $CONFIG/dir_list cd $CONFIG +for i in mach/*/libsys +do + rm -rf $i +fi + for i in `cat dir_list` do create_dir $i + rm -f $i/NoAction if [ -f $SRC_HOME/$i/proto.make ] then mk_makefile $MACROS $SRC_HOME/$i/proto.make > $i/Makefile fi diff --git a/first/mk_target b/first/mk_target index 358087219..be79a55d5 100755 --- a/first/mk_target +++ b/first/mk_target @@ -17,6 +17,7 @@ create_dir $TARGET_HOME/bin cp local.h em_path.h $TARGET_HOME/config ( cd $SRC_HOME/bin ; tar cf - . ) | ( cd $TARGET_HOME/bin ; tar xf - ) echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys +chmod +x $TARGET_HOME/bin/ack_sys : machine-independant stuff