Add install target

master
Curtis McEnroe 2018-08-20 15:44:57 -04:00
parent e049d5a2d7
commit 1efb62190a
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
LIBRESSL_PREFIX = /usr/local /usr/local/opt/libressl LIBRESSL_PREFIX = /usr/local /usr/local/opt/libressl
PREFIX = ~/.local
CHROOT_USER = chat CHROOT_USER = chat
CHROOT_GROUP = $(CHROOT_USER) CHROOT_GROUP = $(CHROOT_USER)
@ -30,6 +31,9 @@ $(OBJS): chat.h
tags: *.h *.c tags: *.h *.c
ctags -w *.h *.c ctags -w *.h *.c
install: chatte
install chatte $(PREFIX)/bin/chatte
chroot.tar: chatte chroot.tar: chatte
mkdir -p root mkdir -p root
install -d -o root -g wheel \ install -d -o root -g wheel \