~emersion/soju-dev

soju: Makefile: mark soju and sojuctl as .PHONY v2 APPLIED

Alexey Yerin: 1
 Makefile: mark soju and sojuctl as .PHONY

 1 files changed, 2 insertions(+), 0 deletions(-)
#496571 .build.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/soju-dev/patches/22357/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH soju v2] Makefile: mark soju and sojuctl as .PHONY Export this patch

Otherwise running `make` didn't do anything on a non-clean state. Go
deals with changed files automatically, and there's no real need to
explicitly specify them.
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 79face4..bcf4e07 100644
--- a/Makefile
+++ b/Makefile
@@ -28,3 +28,5 @@ install: all
	cp -f soju sojuctl $(DESTDIR)$(PREFIX)/$(BINDIR)
	cp -f doc/soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
	cp -f config.in $(DESTDIR)/etc/soju/config

.PHONY: soju sojuctl
-- 
2.31.1
builds.sr.ht
soju/patches/.build.yml: SUCCESS in 1m42s

[Makefile: mark soju and sojuctl as .PHONY][0] v2 from [Alexey Yerin][1]

[0]: https://lists.sr.ht/~emersion/soju-dev/patches/22357
[1]: mailto:yyp@disroot.org

✓ #496571 SUCCESS soju/patches/.build.yml https://builds.sr.ht/~emersion/job/496571
Thanks! Pushed the fix.