Don't build soju when calling "make install"

Otherwise soju would be rebuilt as the user who runs "make install"
(typically root).
This commit is contained in:
Hubert Hirtz 2021-05-25 14:55:21 +02:00 committed by Simon Ser
parent b3bc9614f8
commit 647fb9ed9e

View File

@ -20,7 +20,7 @@ doc/soju.1: doc/soju.1.scd
clean: clean:
$(RM) -rf soju sojuctl doc/soju.1 $(RM) -rf soju sojuctl doc/soju.1
install: all install:
mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR) mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
mkdir -p $(DESTDIR)/etc/soju mkdir -p $(DESTDIR)/etc/soju