mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
fix "no rst2man found!" build error on debian and ubuntu
This commit is contained in:
parent
6e46ae07fa
commit
a77c35a1c4
14
Makefile
14
Makefile
@ -66,14 +66,12 @@ else
|
|||||||
INITRAMFS_DIR=/etc/initramfs-tools
|
INITRAMFS_DIR=/etc/initramfs-tools
|
||||||
endif
|
endif
|
||||||
|
|
||||||
STATUS:=$(shell rst2man -V 2>/dev/null; echo $$?)
|
RST2MAN:=$(shell which rst2man)
|
||||||
ifeq ($(STATUS),0)
|
ifeq ($(RST2MAN),)
|
||||||
RST2MAN=rst2man
|
RST2MAN:=$(shell which rst2man.py)
|
||||||
endif
|
ifeq ($(RST2MAN),)
|
||||||
|
@echo "WARNING: no rst2man found! Man page not generated."
|
||||||
STATUS:=$(shell rst2man.py -V 2>/dev/null; echo $$?)
|
endif
|
||||||
ifeq ($(STATUS),0)
|
|
||||||
RST2MAN=rst2man.py
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
Loading…
Reference in New Issue
Block a user