Added build target to 'install' in makefile

This commit is contained in:
TheDarkBug 2021-05-24 14:58:10 +02:00
parent 5aa8bae78a
commit e5d1d26f27

View file

@ -14,7 +14,7 @@ debug:
$(CC) $(CFLAGS_DEBUG) -o $(NAME) $(FILES)
./uwufetch
install:
install: build man
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
ls $(DESTDIR)/usr/lib/uwufetch/ 2> /dev/null || mkdir $(DESTDIR)/usr/lib/uwufetch/
cp res/* $(DESTDIR)/usr/lib/uwufetch/