~emersion/soju-dev

Don't build soju when calling "make install" v1 APPLIED

Hubert Hirtz: 1
 Don't build soju when calling "make install"

 1 files changed, 1 insertions(+), 1 deletions(-)
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/22952/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Don't build soju when calling "make install" Export this patch

Otherwise soju would be rebuilt as the user who runs "make install"
(typically root).
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index bcf4e07..27bcfe5 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ doc/soju.1: doc/soju.1.scd

clean:
	$(RM) -rf soju sojuctl doc/soju.1
install: all
install:
	mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
	mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
	mkdir -p $(DESTDIR)/etc/soju
-- 
2.31.1
Pushed, thanks!