From b76a1637af63f4b8c474f9b1768f82828038ac89 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 12 Nov 1995 23:54:38 +0000 Subject: [PATCH] Special-case when amdir=. --- automake.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automake.in b/automake.in index 72e0365..0cebad7 100755 --- a/automake.in +++ b/automake.in @@ -249,6 +249,10 @@ ${am_file}_OBJECTS = ${am_file}.${kr}o" >&4 # Handle "dist" targets. # amdir=`echo "$am_makefile" | sed 's,//*[^/][^/]*$,,g'` + if test "$amdir" = "$am_makefile"; then + # Bogus. + amdir= + fi case "$am_makefile" in */*) cat $AM_DIR/dist-subd-vars.am >&4 -- 2.7.4