aboutsummaryrefslogtreecommitdiff
path: root/contrib/cvs
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2004-04-15 01:19:11 +0000
committerPeter Wemm <peter@FreeBSD.org>2004-04-15 01:19:11 +0000
commite9701b59b170c1134b221d1701471d5e62e80263 (patch)
tree124c1bc4d407e314193d2c52e9d062353a7b8a87 /contrib/cvs
parent10bfecb8b52fe1781d1b496d2b47fff0e15c0806 (diff)
downloadsrc-e9701b59b170c1134b221d1701471d5e62e80263.tar.gz
src-e9701b59b170c1134b221d1701471d5e62e80263.zip
File removed from vendor branch
Notes
Notes: svn path=/vendor/cvs/dist/; revision=128270
Diffstat (limited to 'contrib/cvs')
-rwxr-xr-xcontrib/cvs/noautomake.sh92
1 files changed, 0 insertions, 92 deletions
diff --git a/contrib/cvs/noautomake.sh b/contrib/cvs/noautomake.sh
deleted file mode 100755
index db5f7a4ec36f..000000000000
--- a/contrib/cvs/noautomake.sh
+++ /dev/null
@@ -1,92 +0,0 @@
-#! /bin/sh
-
-# Let autoconf run when this is set
-autoconf=:
-
-usage()
-{
- echo "usage: `basename $0` --help | --version"
- echo "usage: `basename $0` [--[no]autoconf]"
-}
-
-help()
-{
- echo
- echo "This program will touch the files necessary to prevent Automake, aclocal,"
- echo "and, optionally, Autoheader, Autoconf, and configure from running after a"
- echo "fresh update from the CVS repository."
- echo
- echo " -h | --help Display this text and exit"
- echo " -V | --version Display version and exit"
- echo " -a | --autoconf Allow Autoconf & Autoheader to run (default)"
- echo " -A | --noautoconf Prevent Autoconf & Autoheader from running"
- echo
- echo "Not running Automake & aclocal causes changes to the following user files"
- echo "to be ignored:"
- echo
- echo " Makefile.am, acinclude.m4, configure.in"
- echo
- echo "Not running Autoconf & Autoheader causes changes to the following user"
- echo "files to be ignored:"
- echo
- echo " acconfig.h, configure.in"
-}
-
-while getopts VACach-: opt; do
- if test "x$opt" = "x-"; then
- case $OPTARG in
- help)
- opt=h
- ;;
- version)
- opt=V
- ;;
- autoconf)
- opt=a
- ;;
- noautoconf)
- opt=A
- ;;
- *)
- opt=?
- ;;
- esac
- fi
- case $opt in
- h)
- usage
- help
- exit 0
- ;;
- V)
- echo "CVS No Automake 0.1"
- exit 0
- ;;
- A)
- autoconf=false
- ;;
- a)
- autoconf=:
- ;;
- ?)
- usage >&2
- exit 2
- ;;
- esac
-done
-
-# prevent aclocal from running
-find . -name aclocal.m4 -exec touch {} \;
-
-# prevent Automake from running
-find . -name Makefile.in -exec touch {} \;
-
-# prevent Autoheader from running
-if $autoconf; then :; else
- find . -name 'config.h.in' -exec touch {} \;
-fi
-
-# prevent Autoconf from running
-if $autoconf; then :; else
- find . -name configure -exec touch {} \;
-fi