makefiles: Add separate clean targets even in the non-recursive case.

This commit is contained in:
Alexandre Julliard 2013-12-12 17:25:51 +01:00
parent 7a8d1838b0
commit e0d5010f40
2 changed files with 12 additions and 4 deletions

8
aclocal.m4 vendored
View File

@ -315,7 +315,9 @@ $ac_dir/clean: $ac_dir/Makefile
\$(RM) $ac_dir/Makefile"
else
wine_fn_append_rule \
"clean::
"__clean__: $ac_dir/clean
.PHONY: $ac_dir/clean
$ac_dir/clean: dummy
\$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
fi
}
@ -325,7 +327,9 @@ wine_fn_disabled_rules ()
ac_clean=$[@]
wine_fn_append_rule \
"clean::
"__clean__: $ac_dir/clean
.PHONY: $ac_dir/clean
$ac_dir/clean: dummy
\$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
}

8
configure vendored
View File

@ -16312,7 +16312,9 @@ $ac_dir/clean: $ac_dir/Makefile
\$(RM) $ac_dir/Makefile"
else
wine_fn_append_rule \
"clean::
"__clean__: $ac_dir/clean
.PHONY: $ac_dir/clean
$ac_dir/clean: dummy
\$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
fi
}
@ -16322,7 +16324,9 @@ wine_fn_disabled_rules ()
ac_clean=$@
wine_fn_append_rule \
"clean::
"__clean__: $ac_dir/clean
.PHONY: $ac_dir/clean
$ac_dir/clean: dummy
\$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
}