Force creation of directories (useful for packaging)
This commit is contained in:
parent
79ad589901
commit
d3cb98578e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -30,8 +30,8 @@ debug:
|
||||||
./uwufetch
|
./uwufetch
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
|
mkdir -p $(DESTDIR)$(PREFIX) $(DESTDIR)$(LIBDIR)/uwufetch $(DESTDIR)$(MANDIR)
|
||||||
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
|
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
|
||||||
ls $(DESTDIR)$(LIBDIR)/uwufetch > /dev/null || mkdir $(DESTDIR)$(LIBDIR)/uwufetch
|
|
||||||
cp -r res/* $(DESTDIR)$(LIBDIR)/uwufetch
|
cp -r res/* $(DESTDIR)$(LIBDIR)/uwufetch
|
||||||
cp ./$(NAME).1.gz $(DESTDIR)$(MANDIR)/
|
cp ./$(NAME).1.gz $(DESTDIR)$(MANDIR)/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue