Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 17:22:26 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e83b514a9563 - main - cat: depend on Makefile to rebuild when WITH_CASPER changes
Message-ID:  <202101171722.10HHMQwh098665@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

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

commit e83b514a9563d5812c9d158ff976f0de96bd90e0
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-01-17 17:15:40 +0000
Commit:     Ed Maste <emaste@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101171722.10HHMQwh098665>