1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-01 16:27:45 +02:00

Install: check if manpages exist

This commit is contained in:
Ansa89 2014-10-15 14:25:14 +02:00
parent 0a1457acde
commit 1b9fd7f936

View File

@ -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 ;\