From 78623e59f51cb940a4ae7aaeb01ce02ece2d2560 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 25 Nov 1995 23:23:39 +0000 Subject: [PATCH] Added --amdir option --- automake.in | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/automake.in b/automake.in index 367930e..8c95ff4 100755 --- a/automake.in +++ b/automake.in @@ -47,6 +47,7 @@ while test $# -gt 0; do --help | --h* ) $echo "Usage: automake [OPTION]... [Makefile]..." $echo "\ + --amdir=DIR directory storing config files --help print this help, then exit --version print version number, then exit --include-deps include generated dependencies in Makefile" @@ -67,7 +68,20 @@ while test $# -gt 0; do exit 0 ;; - --include-deps) + --amdir=* | --a*=* ) + am_dir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`" + ;; + + --amdir | --a* ) + if test $# -eq 1; then + echo "automake: no argument given for option \`$1'" 1>&2 + exit 1 + fi + shift + am_dir="${1}" + ;; + + --include-deps | --i*) am_incdeps=yes am_usedeps=no ;; -- 2.7.4