[nginx] Configure: marked top-level make targets as phony.

Ruslan Ermilov ru at nginx.com
Sat Feb 20 09:44:48 UTC 2021


details:   https://hg.nginx.org/nginx/rev/549b13cd793b
branches:  
changeset: 7778:549b13cd793b
user:      Ruslan Ermilov <ru at nginx.com>
date:      Sat Feb 20 12:44:26 2021 +0300
description:
Configure: marked top-level make targets as phony.

Reported by Thibault Nélis.

diffstat:

 auto/init    |  2 ++
 auto/install |  2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 5ef14498edf7 -r 549b13cd793b auto/init
--- a/auto/init	Sat Feb 20 12:44:07 2021 +0300
+++ b/auto/init	Sat Feb 20 12:44:26 2021 +0300
@@ -48,4 +48,6 @@ default:	build
 
 clean:
 	rm -rf Makefile $NGX_OBJS
+
+.PHONY:	default clean
 END
diff -r 5ef14498edf7 -r 549b13cd793b auto/install
--- a/auto/install	Sat Feb 20 12:44:07 2021 +0300
+++ b/auto/install	Sat Feb 20 12:44:26 2021 +0300
@@ -215,4 +215,6 @@ upgrade:
 	test -f $NGX_PID_PATH.oldbin
 
 	kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
+
+.PHONY:	build install modules upgrade
 END


More information about the nginx-devel mailing list