I have noticed this issue while I was trying to package sbase-box. Since
sbase-box was in the PHONY target, running sbase-box-install caused it to
be rebuilt when it was unnecessary. This also caused options passed to make
to be lost (such as LDFLAGS).
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 22339d0..3243b1c 100644
--- a/Makefile
+++ b/Makefile
@@ -279,4 +279,4 @@ clean:
 .gitignore:
        { printf '*.o\n' ; printf '/%s\n' getconf.h $(LIB) $(BIN) ; } > $@
 
-.PHONY: all install uninstall dist sbase-box sbase-box-install 
sbase-box-uninstall clean .gitignore
+.PHONY: all install uninstall dist sbase-box-install sbase-box-uninstall clean 
.gitignore
-- 
2.27.0


Reply via email to