From 647fb9ed9e800de4631371ece46d9d99f9c953af Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Tue, 25 May 2021 14:55:21 +0200 Subject: [PATCH] Don't build soju when calling "make install" 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