Makefile: make install target correctly honour $DESTDIR

Fixed a bug were `install' target, despite honouring $DESTDIR was not
doing it consequently.
This commit is contained in:
Andreas Wiese 2015-07-23 17:32:01 +02:00
parent 46aa412b7b
commit 61f9ecbc74
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ install: all
mkdir -p $(DESTDIR)$(sbindir)
$(INSTALL) -m 755 $(NAME) $(DESTDIR)$(sbindir)
mkdir -p $(DESTDIR)$(mandir)/man8
$(INSTALL) -m 644 $(MAN8) $(mandir)/man8
$(INSTALL) -m 644 $(MAN8) $(DESTDIR)$(mandir)/man8
indent:
indent -nut -ts2 *.c *.h