bugfix: make the "install" phony target depend on the "all" phony target in the Makefile generated by ./configure. thanks Weibin Yao for reporting this issue.

This commit is contained in:
agentzh (章亦春)
2011-12-29 12:49:14 +08:00
parent 6d1405ceaa
commit 1bc8f9b8be
2 changed files with 36 additions and 34 deletions

4
util/configure vendored
View File

@ -991,9 +991,9 @@ sub gen_makefile {
print $out ".PHONY: all install clean\n\n";
print $out "all:\n\t" . join("\n\t", @make_cmds) . "\n\n";
print $out "all:\n\t" . join("\n\t", @make_cmds) . "\n\n";
print $out "install:\n\t" . join("\n\t", @make_install_cmds) . "\n\n";
print $out "install: all\n\t" . join("\n\t", @make_install_cmds) . "\n\n";
print $out "clean:\n\trm -rf build\n";