Add uninstall target

weechat-hashes
Curtis McEnroe 2018-08-20 16:26:35 -04:00
parent c0c0ef4644
commit ab950b3044
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 6 additions and 3 deletions

View File

@ -31,9 +31,6 @@ $(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 \
@ -69,3 +66,9 @@ chroot.tar: chatte
clean: clean:
rm -f tags chatte $(OBJS) chroot.tar rm -f tags chatte $(OBJS) chroot.tar
install: chatte
install chatte $(PREFIX)/bin/chatte
uninstall:
rm -f $(PREFIX)/bin/chatte