1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 22:06:35 +01:00

Make Toxic easier to port

This commit is contained in:
Leonid Bobrov
2018-10-03 00:31:14 +03:00
committed by iphydf
parent e7c5fbc873
commit f90a774470
9 changed files with 37 additions and 40 deletions

View File

@@ -27,7 +27,7 @@ install: $(BUILD_DIR)/toxic
if [ ! -e "$(DOC_DIR)/$$f" ]; then \
continue ;\
fi ;\
section=$(abspath $(DESTDIR)/$(MANDIR))/man`echo $$f | rev | cut -d "." -f 1` ;\
section=$(abspath $(DESTDIR)/$(MANDIR))/man`echo $${f##*.}` ;\
file=$$section/$$f ;\
mkdir -p $$section ;\
install -m 0644 $(DOC_DIR)/$$f $$file ;\