summaryrefslogtreecommitdiff
path: root/app/tools/oldscripts
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:56:15 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:56:15 +0100
commit1542c122b3672fe83e027411ad2445772e2d0ed3 (patch)
treee535bc621bd7ffa9d5ce89e0d495df5d1c4ab6fd /app/tools/oldscripts
parent773810e6583142d7d15263e6481c42aebed6d7f1 (diff)
parentd1a8285f818eb7e5c3d6a05709ea21a808490b8c (diff)
Update upstream source from tag 'upstream/5.1.0'
Update to upstream version '5.1.0' with Debian dir 93ca74b8b4602fce4c9c7740e0cfdde25f086673
Diffstat (limited to 'app/tools/oldscripts')
-rw-r--r--app/tools/oldscripts/README4
-rw-r--r--app/tools/oldscripts/checkall10
-rw-r--r--app/tools/oldscripts/diffall37
-rw-r--r--app/tools/oldscripts/fetchall46
-rw-r--r--app/tools/oldscripts/makeall23
-rw-r--r--app/tools/oldscripts/markall17
-rw-r--r--app/tools/oldscripts/mkwinrlse34
-rw-r--r--app/tools/oldscripts/roall22
8 files changed, 0 insertions, 193 deletions
diff --git a/app/tools/oldscripts/README b/app/tools/oldscripts/README
deleted file mode 100644
index a9ee346..0000000
--- a/app/tools/oldscripts/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Not all of these scripts are fully tested. Use at your own risk.
-
-
-JBB
diff --git a/app/tools/oldscripts/checkall b/app/tools/oldscripts/checkall
deleted file mode 100644
index 51e6861..0000000
--- a/app/tools/oldscripts/checkall
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-cd ~/xtrkcad/src
-for d in bin help lib lib/params lib/demos lib/examples tools ; do
- rlog -R -L $d/RCS/*,v
-done
-cd ~/wlib/src
-for d in include mswlib test gtklib ; do
- rlog -R -L $d/RCS/*,v
-done
-
diff --git a/app/tools/oldscripts/diffall b/app/tools/oldscripts/diffall
deleted file mode 100644
index 0dd6695..0000000
--- a/app/tools/oldscripts/diffall
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-if [ $# -lt 1 ] ; then
- echo "Usage: checkall <RLSE> [<home>]"
- exit 1
-fi
-RLSE=$1
-HOMEDIR=$HOME
-if [ $# -eq 2 ] ; then
- HOMEDIR=$2
-fi
-cd ${HOMEDIR}/xtrkcad/$RLSE
-for d in bin help lib lib/params lib/demos lib/examples tools ; do
- echo === $d
- ( cd $d
- for f in `make rcssrc` ; do
- if rcsdiff -q -r$RLSE -r1. $f > /dev/null ; then
- true
- else
- echo $d/$f diffs
- fi
- done
- )
-done
-cd ${HOMEDIR}/wlib/$RLSE
-for d in include mswlib test gtklib ; do
- echo === $d
- ( cd $d
- for f in `make rcssrc` ; do
- if rcsdiff -q -r$RLSE -r1. $f > /dev/null ; then
- true
- else
- echo $d/$f diffs
- fi
- done
- )
-done
-
diff --git a/app/tools/oldscripts/fetchall b/app/tools/oldscripts/fetchall
deleted file mode 100644
index 5a88f73..0000000
--- a/app/tools/oldscripts/fetchall
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-fetchdir() {
- echo fetching $1
- mkdir $1
- ( cd $1; ln -s ../$2/src/$1/RCS . ; co -r$RLSE Makefile ; co -r$RLSE `make rcssrc` )
-}
-
-if [ $# -lt 1 ] ; then
- echo fetchall RLSE
- exit 1
-fi
-RLSE=$1
-if [ -d ~/xtrkcad/$RLSE ] ; then
- echo ~/xtrkcad/$RLSE exists
- exit 1
-fi
-if [ -d ~/wlib/$RLSE ] ; then
- echo ~/wlib/$RLSE exists
- exit 1
-fi
-
-mkdir ~/xtrkcad/$RLSE
-cd ~/xtrkcad/$RLSE
-fetchdir bin ..
-fetchdir help ..
-fetchdir lib ..
-fetchdir lib/demos ../..
-fetchdir lib/examples ../..
-fetchdir lib/params ../..
-fetchdir tools ..
-mkdir ~/wlib/$RLSE
-cd ~/wlib/$RLSE
-fetchdir include ..
-fetchdir mswlib ..
-fetchdir test ..
-fetchdir gtklib ..
-
-mkdir ~/xtrkcad/$RLSE/help/images.orig
-cp ~/xtrkcad/dev/help/images.orig/*.png ~/xtrkcad/$RLSE/help/images.orig
-cp ~/xtrkcad/dev/bin/xtrkcad.ico ~/xtrkcad/$RLSE/bin/
-cp ~/xtrkcad/dev/lib/register.* ~/xtrkcad/$RLSE/lib/
-chmod 444 ~/xtrkcad/$RLSE/lib/register.*
-cp ~/wlib/dev/test/wtest.ico ~/wlib/$RLSE/test/
-ln -s ~/wlib/$RLSE ~/xtrkcad/$RLSE/bin/wlib
-
diff --git a/app/tools/oldscripts/makeall b/app/tools/oldscripts/makeall
deleted file mode 100644
index 896cb41..0000000
--- a/app/tools/oldscripts/makeall
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if [ $# -lt 1 ] ; then
- echo mkrlse RLSE
- exit 1
-fi
-RLSE=$1
-if [ \! -d ~/xtrkcad/$RLSE ] ; then
- echo ~/xtrkcad/$RLSE does not exist
- exit 1
-fi
-
- cd ~/wlib/$RLSE/gtklib && \
- make update && \
- cd ~/xtrkcad/$RLSE/help && \
- make pngs && \
- make && \
- cd ../lib/params && \
- make && \
- cd .. && \
- make && \
- cd ../bin && \
- make update
diff --git a/app/tools/oldscripts/markall b/app/tools/oldscripts/markall
deleted file mode 100644
index ae41d71..0000000
--- a/app/tools/oldscripts/markall
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-if [ $# -lt 1 ] ; then
- echo "markall TAG"
- exit 1
-fi
-TAG=$1
-cd ~/xtrkcad/src
-for d in bin help lib lib/params lib/demos lib/examples tools ; do
- echo xtrkcad/src/$d:
- (cd $d ; co Makefile ; rcs -N$TAG:1. `make rcssrc`)
-done
-cd ~/wlib/src
-for d in include mswlib test gtklib ; do
- echo wlib/src/$d
- (cd $d ; co Makefile ; rcs -N$TAG:1. `make rcssrc`)
-done
-
diff --git a/app/tools/oldscripts/mkwinrlse b/app/tools/oldscripts/mkwinrlse
deleted file mode 100644
index 15358f5..0000000
--- a/app/tools/oldscripts/mkwinrlse
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-rm -fr mswrel
-if [ -d mswrel ] ; then
- echo ./mswrel already exists
- exit 1
-fi
-
-mkdir mswrel
-mkdir mswrel/demos
-mkdir mswrel/examples
-mkdir mswrel/params
-echo lib/demos
-(cd lib/demos; for f in *.xtr ; do addcr < $f > ../../mswrel/demos/$f ; done )
-echo lib/examples
-(cd lib/examples; for f in *.xtc ; do addcr < "$f" > ../../mswrel/examples/"$f" ; done )
-echo lib/params
-(cd lib/params; for f in *.xtp ; do addcr < $f > ../../mswrel/params/$f ; done )
-echo lib
-cp bin/Release/xtrkcad.exe mswrel
-echo release
-cp bin/Debug/xtrkcad.exe mswrel/xtrkcadd.exe
-echo debug
-addcr < COPYING > mswrel/license.txt
-echo license
-addcr < lib/aareadme.txt > mswrel/aareadme.txt
-addcr < lib/xtrkcad.bug > mswrel/xtrkcad.bug
-addcr < lib/xtrkcad.enh > mswrel/xtrkcad.enh
-addcr < lib/xtrkcad.fix > mswrel/xtrkcad.fix
-addcr < lib/xtrkcad.upd > mswrel/xtrkcad.upd
-addcr < help/xtrkcad.tip > mswrel/xtrkcad.tip
-addcr < lib/xtrkcad.xtq > mswrel/xtrkcad.xtq
-chmod -w -R mswrel
-chmod +w mswrel mswrel/demos mswrel/examples mswrel/params
diff --git a/app/tools/oldscripts/roall b/app/tools/oldscripts/roall
deleted file mode 100644
index 28f156b..0000000
--- a/app/tools/oldscripts/roall
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-if [ $# != 1 ] ; then
- echo "Usage: roall <RLSE>"
- exit 1
-fi
-cd ~/xtrkcad/$1
-for d in bin help lib lib/params lib/demos lib/examples tools ; do
- (cd $d; for f in `make rcssrc` ; do
- if [ -w $f ] ; then
- echo $d/$f is writable
- fi
- done)
-done
-cd ~/wlib/$1
-for d in include mswlib test gtklib ; do
- (cd $d;for f in `make rcssrc` ; do
- if [ -w $f ] ; then
- echo $d/$f is writable
- fi
- done)
-done
-