Removed Version.c
authorceriel <none@none>
Wed, 6 Dec 1995 09:52:54 +0000 (09:52 +0000)
committerceriel <none@none>
Wed, 6 Dec 1995 09:52:54 +0000 (09:52 +0000)
21 files changed:
distr/How_To
distr/dwalk
distr/mkd
distr/mktree
lang/cem/cemcom.ansi/.distr
lang/cem/cemcom.ansi/Makefile [deleted file]
lang/cem/cemcom.ansi/proto.make
lang/cem/cemcom/.distr
lang/cem/cemcom/Makefile [deleted file]
lang/cem/cemcom/proto.make
lang/m2/comp/.distr
lang/m2/comp/Makefile [deleted file]
lang/m2/comp/proto.make
lang/m2/m2mm/.distr
lang/m2/m2mm/Makefile [deleted file]
lang/m2/m2mm/proto.make
lang/pc/comp/.distr
lang/pc/comp/Makefile [deleted file]
util/cpp/.distr
util/cpp/Makefile [deleted file]
util/cpp/proto.make

index 7373018..b9937c6 100644 (file)
@@ -12,7 +12,8 @@ these files.
 
 When all this is correct, use the shell script mktree the extract
 the distribution from the EM tree.
-       sh mktree destination_tree repository_tree > destination_tree/Versions 2>f.attf
+       sh mktree destination_tree repository_tree <distrname> 2>f.attf
+Use the "cvs rtag" command to give the distribution a name first!
 Make sure that the destination tree exists and is empty!
 Failing to do that will almost certainly result in a welter of
 error messages.
index d43436e..6db9f0e 100755 (executable)
@@ -1,10 +1,4 @@
 : ${CDIR=.}
-if [ $# = 1 ]
-then
-       ${DD-:} $CDIR $1
-else
-       ${DD-:} $CDIR
-fi
 ${DF-:} $CDIR .distr
 if test ! -r $DESTDIR/$CDIR/.distr
 then
index 4cba1ad..e69de29 100755 (executable)
--- a/distr/mkd
+++ b/distr/mkd
@@ -1,30 +0,0 @@
-case $1 in
-.)     ;;
-*)     if [ -d $DESTDIR/$1 ]
-       then    :
-       else    mkdir $DESTDIR/$1
-       fi
-       ;;
-esac
-p=$REPDIR/$1
-dir=$1
-if [ $# = 2 ]
-then
-       if [ -f $2 ]
-       then    
-               set `fgrep "$dir " $2`
-       fi
-fi
-cd $DESTDIR/$dir
-if [ $# = 2 ]
-then
-       RV $p $2 > /dev/null 2>&1
-       echo "$dir $2"
-else
-       if `CV $p > /dev/null 2>&1`
-       then
-               echo "$dir `RC -i`"
-       else
-               echo "-- $dir CV failed for some reason" 1>&2
-       fi
-fi
index 599ef7d..037fa40 100644 (file)
@@ -16,12 +16,26 @@ case $2 in
 /*)    REPDIR=$2 ;;
 *)     REPDIR=`pwd`/$2 ;;
 esac
+# DD=$DDIR/mkd
+# export DD
+mkdir -p $DESTDIR
+CVSROOT=/usr/proj/em/Repositories
+export CVSROOT
+cd $DESTDIR
+case $# in
+3)
+       cvs checkout world -r $3
+       ;;
+2)
+       cvs checkout world
+       ;;
+esac
 cd $REPDIR
-DD=$DDIR/mkd
 DF=$DDIR/mkf
 DA=$DDIR/mka
-export DDIR DESTDIR DD DF DA REPDIR
-$DDIR/dwalk $3
+export DDIR DESTDIR DF DA REPDIR
+
+$DDIR/dwalk
 
 cd $DESTDIR
 find . -type d -print | xargs chmod "uog+rx"
index f9c8bb2..ba9bb36 100644 (file)
@@ -1,4 +1,3 @@
-Version.c
 proto.make
 proto.main
 LLlex.c
diff --git a/lang/cem/cemcom.ansi/Makefile b/lang/cem/cemcom.ansi/Makefile
deleted file mode 100644 (file)
index 61b6d9c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-distr:
-       echo '#ifndef   lint' > Version.c
-       echo 'char Version[] = "ACK ANSI C compiler Version XXX";' | \
-               sed "s/XXX/`RC -i`/" >> Version.c
-       echo '#endif' >> Version.c
index ea61976..cfde681 100644 (file)
@@ -20,7 +20,6 @@ GEN_G =       tokenfile.g
 GFILES=        $(GEN_G) $(SRC_G)
 
 SRC_C = \
-       $(SRC_DIR)/Version.c \
        $(SRC_DIR)/LLlex.c \
        $(SRC_DIR)/LLmessage.c \
        $(SRC_DIR)/arith.c \
index ef83b4c..3a5a222 100644 (file)
@@ -1,4 +1,3 @@
-Version.c
 proto.make
 proto.main
 LLlex.c
diff --git a/lang/cem/cemcom/Makefile b/lang/cem/cemcom/Makefile
deleted file mode 100644 (file)
index e44a9bf..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-distr:
-       echo '#ifndef   lint' > Version.c
-       echo 'char Version[] = "ACK C compiler Version XXX";' | \
-               sed "s/XXX/`RC -i`/" >> Version.c
-       echo '#endif' >> Version.c
index 7257637..0df00cf 100644 (file)
@@ -20,7 +20,6 @@ GEN_G =       tokenfile.g
 GFILES=        $(GEN_G) $(SRC_G)
 
 SRC_C = \
-       $(SRC_DIR)/Version.c \
        $(SRC_DIR)/LLlex.c \
        $(SRC_DIR)/LLmessage.c \
        $(SRC_DIR)/arith.c \
index 8d76796..6340fa6 100644 (file)
@@ -6,7 +6,6 @@ proto.main
 BigPars
 SmallPars
 SYSTEM.h
-Version.c
 casestat.C
 char.tab
 chk_expr.c
diff --git a/lang/m2/comp/Makefile b/lang/m2/comp/Makefile
deleted file mode 100644 (file)
index 5df3de7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-distr:
-       echo '#ifndef   lint' > Version.c
-       echo 'char Version[] = "ACK Modula-2 compiler Version XXX";' | \
-               sed "s/XXX/`RC -i`/" >> Version.c
-       echo '#endif' >> Version.c
index 84d488c..9ccef6a 100644 (file)
@@ -26,7 +26,7 @@ SRC_C =       $(SRC_DIR)/LLlex.c $(SRC_DIR)/LLmessage.c $(SRC_DIR)/error.c \
        $(SRC_DIR)/typequiv.c $(SRC_DIR)/node.c $(SRC_DIR)/cstoper.c \
        $(SRC_DIR)/chk_expr.c $(SRC_DIR)/options.c $(SRC_DIR)/walk.c \
        $(SRC_DIR)/desig.c $(SRC_DIR)/code.c $(SRC_DIR)/lookup.c \
-       $(SRC_DIR)/Version.c $(SRC_DIR)/stab.c
+       $(SRC_DIR)/stab.c
 GEN_C =        tokenfile.c program.c declar.c expression.c statement.c \
        symbol2str.c char.c Lpars.c casestat.c tmpvar.c scope.c next.c
 CFILES=        $(SRC_C) $(GEN_C)
index 65b9da7..3a8bc43 100644 (file)
@@ -28,4 +28,3 @@ program.g
 statement.g
 tokenname.c
 tokenname.h
-Version.c
diff --git a/lang/m2/m2mm/Makefile b/lang/m2/m2mm/Makefile
deleted file mode 100644 (file)
index faf53f6..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-distr:
-       echo '#ifndef   lint' > Version.c
-       echo 'char Version[] = "ACK Modula-2 Makefile generator Version XXX";' | \
-               sed "s/XXX/`RC -i`/" >> Version.c
-       echo '#endif' >> Version.c
index 13ab2f2..5af7d4f 100644 (file)
@@ -22,7 +22,7 @@ GFILES=       $(GEN_G) $(SRC_G)
 SRC_C =        $(SRC_DIR)/LLlex.c $(SRC_DIR)/LLmessage.c $(SRC_DIR)/error.c \
        $(SRC_DIR)/main.c $(SRC_DIR)/lib.c $(SRC_DIR)/tokenname.c \
        $(SRC_DIR)/idf.c $(SRC_DIR)/input.c $(SRC_DIR)/misc.c \
-       $(SRC_DIR)/options.c $(SRC_DIR)/Version.c 
+       $(SRC_DIR)/options.c
 GEN_C =        tokenfile.c program.c declar.c expression.c statement.c \
        symbol2str.c char.c Lpars.c
 CFILES=        $(SRC_C) $(GEN_C)
index 4dcfaee..dbbee86 100644 (file)
@@ -4,7 +4,6 @@ LLmessage.c
 proto.make
 proto.main
 Parameters
-Version.c
 body.c
 casestat.C
 char.tab
diff --git a/lang/pc/comp/Makefile b/lang/pc/comp/Makefile
deleted file mode 100644 (file)
index 5aa6f2e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-distr:
-       echo '#ifndef   lint' > Version.c
-       echo 'char Version[] = "ACK Pascal compiler Version XXX";' | \
-               sed "s/XXX/`RC -i`/" >> Version.c
-       echo '#endif' >> Version.c
index 949bf82..53c19ae 100644 (file)
@@ -32,4 +32,3 @@ scan.c
 skip.c
 tokenname.c
 cpp.6
-Version.c
diff --git a/util/cpp/Makefile b/util/cpp/Makefile
deleted file mode 100644 (file)
index 897971d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-distr:
-       echo '#ifndef   lint' > Version.c
-       echo 'char Version[] = "ACK C preprocessor Version XXX";' | \
-               sed "s/XXX/`RC -i`/" >> Version.c
-       echo '#endif' >> Version.c
index bcd829d..52a04ca 100644 (file)
@@ -42,13 +42,13 @@ LOBJ =      tokenfile.$(SUF) expression.$(SUF) Lpars.$(SUF)
 CSRC = $(SRC_DIR)/LLlex.c $(SRC_DIR)/LLmessage.c $(SRC_DIR)/ch7bin.c  \
        $(SRC_DIR)/ch7mon.c $(SRC_DIR)/domacro.c $(SRC_DIR)/error.c \
        $(SRC_DIR)/idf.c $(SRC_DIR)/init.c $(SRC_DIR)/input.c \
-       $(SRC_DIR)/main.c $(SRC_DIR)/options.c $(SRC_DIR)/Version.c \
+       $(SRC_DIR)/main.c $(SRC_DIR)/options.c \
        $(SRC_DIR)/preprocess.c $(SRC_DIR)/replace.c $(SRC_DIR)/scan.c \
        $(SRC_DIR)/skip.c $(SRC_DIR)/tokenname.c $(SRC_DIR)/next.c \
        $(SRC_DIR)/expr.c
 COBJ = LLlex.$(SUF) LLmessage.$(SUF) ch7bin.$(SUF) ch7mon.$(SUF) \
        domacro.$(SUF) error.$(SUF) idf.$(SUF) init.$(SUF) input.$(SUF) \
-       main.$(SUF) options.$(SUF) Version.$(SUF) \
+       main.$(SUF) options.$(SUF) \
        preprocess.$(SUF) replace.$(SUF) scan.$(SUF) skip.$(SUF) \
        tokenname.$(SUF) next.$(SUF) expr.$(SUF)
 
@@ -253,8 +253,6 @@ options.$(SUF):     $(SRC_DIR)/macro.h
 options.$(SUF):        $(SRC_DIR)/class.h
 options.$(SUF):        ./idfsize.h
 options.$(SUF):        $(TARGET_HOME)/modules/h/alloc.h
-Version.$(SUF):        $(SRC_DIR)/Version.c
-       $(CC) -c $(CFLAGS) $(SRC_DIR)/Version.c
 preprocess.$(SUF):     $(SRC_DIR)/preprocess.c
        $(CC) -c $(CFLAGS) $(SRC_DIR)/preprocess.c
 preprocess.$(SUF):     ./line_prefix.h