#!/bin/sh # # Copy files from the "other" directory to the right place in the magic # directory structure. # # $Id: copyother,v 1.1.1.1 2000/03/29 18:35:54 rajit Exp $ # copy() { if cmp -s other/$1 $2/$1 then : else echo [Copying $1] cp other/$1 $2/$1 fi } copyf() { if cmp -s $1 $2 then : else echo [Copying $1] cp $1 $2 fi } copy :config .. copy SimRsim.c ../sim copy parser.c ../parser copy child.c ../utils copy utils.h ../utils copy grSun1.c ../graphics copy grX11su1.c ../graphics copy X11Helper.c ../graphics copy main.c ../main copy niceabort.c ../misc copy txCommands.c ../textio copy txOutput.c ../textio copy txInput.c ../textio copy textioInt.h ../textio copy CmdCD.c ../commands copy CmdRS.c ../commands copy DBio.c ../database copy DBcellname.c ../database copy DRCcontin.c ../drc copy signals.c ../signals copy CIFwrite.c ../cif copy proto.magic-scm ../magic copy proto.magic.gen ../magic if [ ! -d ../textio/readline ] then mkdir ../textio/readline fi copy Makefile .. copyf other/Makefile.utils ../utils/Makefile copyf other/Makefile.magic ../magic/Makefile copyf other/Makefile.textio ../textio/Makefile copyf other/Makefile.rl ../textio/readline/Makefile