mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:23:01 +01:00
Install: check if manpages exist
This commit is contained in:
parent
0a1457acde
commit
1b9fd7f936
@ -20,6 +20,9 @@ install: toxic
|
|||||||
|
|
||||||
@echo "Installing man pages"
|
@echo "Installing man pages"
|
||||||
@for f in $(MANFILES) ; do \
|
@for f in $(MANFILES) ; do \
|
||||||
|
if [ ! -e "$$f" ]; then \
|
||||||
|
continue ;\
|
||||||
|
fi ;\
|
||||||
section=$(abspath $(DESTDIR)/$(MANDIR))/man`echo $$f | rev | cut -d "." -f 1` ;\
|
section=$(abspath $(DESTDIR)/$(MANDIR))/man`echo $$f | rev | cut -d "." -f 1` ;\
|
||||||
file=$$section/$$f ;\
|
file=$$section/$$f ;\
|
||||||
mkdir -p $$section ;\
|
mkdir -p $$section ;\
|
||||||
|
Loading…
Reference in New Issue
Block a user