From: Tom Tromey Date: Sun, 12 Nov 1995 23:54:38 +0000 (+0000) Subject: Special-case when amdir=. X-Git-Tag: v1.10.2~4048 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b76a1637af63f4b8c474f9b1768f82828038ac89;p=platform%2Fupstream%2Fautomake.git Special-case when amdir=. --- 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