summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-28 18:04:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-28 18:04:52 +0000
commite112b6309790fab52632f8cd8e6a5bd61bcfd4b3 (patch)
tree623f43440a7fe9516296c89ce629a8e0cb14f0df /tools/build
parentf94e76ba023ad531db5a27c6f974fab5cb5f320b (diff)
downloadrtems-e112b6309790fab52632f8cd8e6a5bd61bcfd4b3.tar.bz2
Patch to remove rcs-clean.in as it is unused from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/Makefile.am3
-rw-r--r--tools/build/Makefile.in9
-rw-r--r--tools/build/configure.in1
-rw-r--r--tools/build/rcs-clean.in73
4 files changed, 4 insertions, 82 deletions
diff --git a/tools/build/Makefile.am b/tools/build/Makefile.am
index fd56b93545..7452c5e45b 100644
--- a/tools/build/Makefile.am
+++ b/tools/build/Makefile.am
@@ -18,8 +18,7 @@ binpatch_SOURCES = binpatch.c
bin_SCRIPTS=\
install-if-change \
lock-directory \
-unlock-directory \
-rcs-clean
+unlock-directory
noinst_SCRIPTS = search-id.sh
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index cf43066e74..157600cca7 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -86,15 +86,14 @@ packhex_SOURCES = packhex.c
unhex_SOURCES = unhex.c
binpatch_SOURCES = binpatch.c
-bin_SCRIPTS = install-if-change lock-directory unlock-directory rcs-clean
+bin_SCRIPTS = install-if-change lock-directory unlock-directory
noinst_SCRIPTS = search-id.sh
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = install-if-change lock-directory rcs-clean \
-unlock-directory
+CONFIG_CLEAN_FILES = install-if-change lock-directory unlock-directory
bin_PROGRAMS = cklength$(EXEEXT) eolstrip$(EXEEXT) packhex$(EXEEXT) \
unhex$(EXEEXT)
noinst_PROGRAMS = binpatch$(EXEEXT)
@@ -133,7 +132,7 @@ CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = README ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \
config.h.in configure configure.in install-if-change.in \
-lock-directory.in rcs-clean.in unlock-directory.in
+lock-directory.in unlock-directory.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
@@ -194,8 +193,6 @@ install-if-change: $(top_builddir)/config.status install-if-change.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
lock-directory: $(top_builddir)/config.status lock-directory.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-rcs-clean: $(top_builddir)/config.status rcs-clean.in
- cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
unlock-directory: $(top_builddir)/config.status unlock-directory.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tools/build/configure.in b/tools/build/configure.in
index 486938ce2b..ffb703c20a 100644
--- a/tools/build/configure.in
+++ b/tools/build/configure.in
@@ -24,6 +24,5 @@ AC_OUTPUT(
Makefile
install-if-change
lock-directory
-rcs-clean
unlock-directory
)
diff --git a/tools/build/rcs-clean.in b/tools/build/rcs-clean.in
deleted file mode 100644
index 83fed05128..0000000000
--- a/tools/build/rcs-clean.in
+++ /dev/null
@@ -1,73 +0,0 @@
-#!@KSH@ -p
-#
-# $Id$
-#
-# Delete all files from the current directory that can be recreated
-# via RCS 'co' commonds
-# Used by 'make clobber'
-#
-
-progname=${0##*/} # fast basename hack for ksh, bash
-
-USAGE=\
-"usage: $progname [ -v ]"
-
-fatal() {
- if [ "$1" ]
- then
- echo $* >&2
- fi
- echo "$USAGE" 1>&2
- exit 1
-}
-
-#
-# process the options
-#
-
-verbose=""
-
-while getopts v OPT
-do
- case "$OPT" in
- v)
- verbose="yes";;
- *)
- fatal
- esac
-done
-
-let $((shiftcount = $OPTIND - 1))
-shift $shiftcount
-
-args=$*
-[ "$args" ] && fatal
-
-[ -d RCS/. ] || exit 0
-
-# there is probably a better way to do this
-
-rcs_files=`echo RCS/*,v | sed -e 's?RCS/??g' -e's/,v//g'`
-
-kills=""
-for f in $rcs_files
-do
- # build list of all files in RCS/*,v that are *not* locked
- if [ -f $f ] && [ ! -w $f ] && [ -f RCS/$f,v ]
- then
- locked=`rlog -L -R $f`
- [ "$locked" = "" ] && kills="$kills $f"
- fi
-done
-
-if [ "$kills" ]
-then
- [ "$verbose" ] && echo rm -f $kills
- rm -f $kills
-fi
-
-exit 0
-
-# Local Variables: ***
-# mode:ksh ***
-# End: ***