Added build target to 'install' in makefile
This commit is contained in:
parent
5aa8bae78a
commit
e5d1d26f27
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ debug:
|
||||||
$(CC) $(CFLAGS_DEBUG) -o $(NAME) $(FILES)
|
$(CC) $(CFLAGS_DEBUG) -o $(NAME) $(FILES)
|
||||||
./uwufetch
|
./uwufetch
|
||||||
|
|
||||||
install:
|
install: build man
|
||||||
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
|
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
|
||||||
ls $(DESTDIR)/usr/lib/uwufetch/ 2> /dev/null || mkdir $(DESTDIR)/usr/lib/uwufetch/
|
ls $(DESTDIR)/usr/lib/uwufetch/ 2> /dev/null || mkdir $(DESTDIR)/usr/lib/uwufetch/
|
||||||
cp res/* $(DESTDIR)/usr/lib/uwufetch/
|
cp res/* $(DESTDIR)/usr/lib/uwufetch/
|
||||||
|
|
Loading…
Reference in a new issue