-DOCSRC := opts_macro.h bcachefs.5.rst.tmpl
-DOCGENERATED := bcachefs.5 doc/bcachefs.5.rst
-DOCDEPS := $(addprefix ./doc/,$(DOCSRC))
-bcachefs.5: $(DOCDEPS) libbcachefs/opts.h
-ifneq (,$(RST2MAN))
- $(CC) doc/opts_macro.h -I libbcachefs -I include -E 2>/dev/null \
- | doc/macro2rst.py
- $(RST2MAN) doc/bcachefs.5.rst bcachefs.5
-else
- @echo "WARNING: no rst2man found! Man page not generated."
-endif
-
-SRCS=$(shell find . -type f -iname '*.c')