From: David J. MacKenzie Date: Mon, 26 Sep 1994 14:24:47 +0000 (+0000) Subject: use different clean file for ansi2knr X-Git-Tag: Release-0-25~468 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=56af56b7b232b715dc36dbc5560a781c11c087af;p=automake.git use different clean file for ansi2knr --- diff --git a/automake.in b/automake.in index cf0670ff..738674c8 100755 --- a/automake.in +++ b/automake.in @@ -152,7 +152,10 @@ ${am_file}_OBJECTS = ${am_file}.\${kr}o" >&4 fi case "$SUBDIRS" in - "") cat $AM_DIR/clean.am >&5 ;; + "") if grep @kr@ ${am_makefile}.am >/dev/null; then + cat $AM_DIR/clean-kr.am >&5 + else cat $AM_DIR/clean.am >&5 + fi ;; *) cat $AM_DIR/subdirs.am >&5 ;; esac