summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-01 23:14:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-01 23:14:32 +0000
commit907ef1f68089bcb740cb9a7cdf1d210470030663 (patch)
tree051bf47185a5896de8efbe59846d0327c2800208 /tools/build
parent2002-04-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-907ef1f68089bcb740cb9a7cdf1d210470030663.tar.bz2
2002-05-01 Joel Sherrill <joel@OARcorp.com>
* lock-directory.in, unlock-directory.in: Removed. * Makefile.am, README, .cvsignore: Updated to reflect above.
Diffstat (limited to '')
-rw-r--r--tools/build/.cvsignore2
-rw-r--r--tools/build/ChangeLog5
-rw-r--r--tools/build/Makefile.am2
-rw-r--r--tools/build/README14
-rw-r--r--tools/build/configure.ac2
-rw-r--r--tools/build/lock-directory.in43
-rw-r--r--tools/build/unlock-directory.in41
7 files changed, 6 insertions, 103 deletions
diff --git a/tools/build/.cvsignore b/tools/build/.cvsignore
index d16ae22989..8f8923a7a5 100644
--- a/tools/build/.cvsignore
+++ b/tools/build/.cvsignore
@@ -13,8 +13,6 @@ configure
depcomp
install-if-change
install-sh
-lock-directory
missing
mkinstalldirs
stamp-h.in
-unlock-directory
diff --git a/tools/build/ChangeLog b/tools/build/ChangeLog
index 074fdf99fd..82af59091f 100644
--- a/tools/build/ChangeLog
+++ b/tools/build/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-01 Joel Sherrill <joel@OARcorp.com>
+
+ * lock-directory.in, unlock-directory.in: Removed.
+ * Makefile.am, README, .cvsignore: Updated to reflect above.
+
2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_EXEEXT (obsolete).
diff --git a/tools/build/Makefile.am b/tools/build/Makefile.am
index a03508b21e..6bd286e36f 100644
--- a/tools/build/Makefile.am
+++ b/tools/build/Makefile.am
@@ -14,7 +14,7 @@ packhex_SOURCES = packhex.c
unhex_SOURCES = unhex.c
binpatch_SOURCES = binpatch.c
-bin_SCRIPTS = install-if-change lock-directory unlock-directory
+bin_SCRIPTS = install-if-change
noinst_SCRIPTS = search-id.sh multigen
diff --git a/tools/build/README b/tools/build/README
index 0738a5830e..18899c3c06 100644
--- a/tools/build/README
+++ b/tools/build/README
@@ -3,22 +3,8 @@
#
Misc. support tools for RTEMS workspaces.
-More will be added later as they are converted from Teamware
-to CVS.
install-if-change
Smart install script that also can append suffixes as it
installs (suffixes used for debug and profile variants).
Requires bash or ksh.
-
-rcs-clean
- deletes all files from the current directory that can be
- re-created from RCS. Careful to not delete locked files.
- May be used by 'gmake clobber'
-
-lock-directory
-unlock-directory
- traverse a directory structure making it unwritable.
- Useful to keep people from accidentally overwriting
- "released" trees if they get confused about which
- module they have loaded.
diff --git a/tools/build/configure.ac b/tools/build/configure.ac
index d9780a8e5a..e77344eadf 100644
--- a/tools/build/configure.ac
+++ b/tools/build/configure.ac
@@ -23,7 +23,5 @@ AM_CONFIG_HEADER(config.h)
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
install-if-change
-lock-directory
-unlock-directory
])
AC_OUTPUT
diff --git a/tools/build/lock-directory.in b/tools/build/lock-directory.in
deleted file mode 100644
index 1c205cdec0..0000000000
--- a/tools/build/lock-directory.in
+++ /dev/null
@@ -1,43 +0,0 @@
-#!@KSH@
-#
-# $Id$
-#
-# Make a directory write protected
-# Used to write protect the install point after a build
-# to prevent inadvertant overwriting.
-#
-
-# is a particular command available on this machine?
-#
-cmd_avail()
-{
- set -- `type $1 2>&1`
- if [ "$2" = "not" -a "$3" = "found" ] || [ "$3" = "not" -a "$4" = "found" ]
- then
- return 1
- else
- return 0
- fi
-}
-
-lock_directory() {
- l_dir=$1/. # get any symlink out of the way using '.'
- if [ -d $l_dir ]
- then
- find $l_dir -type d -perm -0200 -print | $XARGS chmod -w
- fi
-}
-
-# Use gnu xargs if available; faster, more reliable in general
-XARGS=xargs
-cmd_avail gxargs && XARGS=gxargs
-
-for dir
-do
- lock_directory $dir
-done
-
-# Local Variables: ***
-# mode:ksh ***
-# End: ***
-
diff --git a/tools/build/unlock-directory.in b/tools/build/unlock-directory.in
deleted file mode 100644
index c63ceff881..0000000000
--- a/tools/build/unlock-directory.in
+++ /dev/null
@@ -1,41 +0,0 @@
-#!@KSH@
-#
-# $Id$
-#
-# Unlock a directory processed by lock_directory
-#
-
-# is a particular command available on this machine?
-#
-cmd_avail()
-{
- set -- `type $1 2>&1`
- if [ "$2" = "not" -a "$3" = "found" ] || [ "$3" = "not" -a "$4" = "found" ]
- then
- return 1
- else
- return 0
- fi
-}
-
-unlock_directory() {
- ul_dir=$1/. # get any symlink out of the way using '.'
- if [ -d $ul_dir ]
- then
- find $ul_dir -type d ! -perm -0222 -print | $XARGS -t chmod +w
- fi
-}
-
-# Use gnu xargs if available; faster, more reliable in general
-XARGS=xargs
-cmd_avail gxargs && XARGS=gxargs
-
-for dir
-do
- unlock_directory $dir
-done
-
-# Local Variables: ***
-# mode:ksh ***
-# End: ***
-