git: e83b514a9563 - main - cat: depend on Makefile to rebuild when WITH_CASPER changes

Ed Maste emaste at FreeBSD.org
Sun Jan 17 17:22:26 UTC 2021


The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=e83b514a9563d5812c9d158ff976f0de96bd90e0

commit e83b514a9563d5812c9d158ff976f0de96bd90e0
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-01-17 17:15:40 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-01-17 17:19:00 +0000

    cat: depend on Makefile to rebuild when WITH_CASPER changes
    
    We try to ensure building WITHOUT_CLEAN (or -DNO_CLEAN) works on an
    ongoing basis.  b7ab6832cd98 changed cat to build w/o -DWITH_CASPER
    by default; add a cat.o dependency on the Makefile so that it gets
    rebuilt.
---
 bin/cat/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/cat/Makefile b/bin/cat/Makefile
index cce69d8aad9e..06bb071363f8 100644
--- a/bin/cat/Makefile
+++ b/bin/cat/Makefile
@@ -22,5 +22,7 @@ SUBDIR.${MK_TESTS}+= tests
 #LIBADD+=        cap_net
 #CFLAGS+=-DWITH_CASPER
 #.endif
+# Depend on Makefile to rebiuld when WITH_CASPER changes
+cat.o:	Makefile
 
 .include <bsd.prog.mk>


More information about the dev-commits-src-all mailing list