mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 04:53:24 +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"
|
||||
@for f in $(MANFILES) ; do \
|
||||
if [ ! -e "$$f" ]; then \
|
||||
continue ;\
|
||||
fi ;\
|
||||
section=$(abspath $(DESTDIR)/$(MANDIR))/man`echo $$f | rev | cut -d "." -f 1` ;\
|
||||
file=$$section/$$f ;\
|
||||
mkdir -p $$section ;\
|
||||
|
Loading…
Reference in New Issue
Block a user