quest/doc/man/Makefile

16 lines
193 B
Makefile
Raw Normal View History

2023-02-12 15:56:54 +00:00
DOCS=$(shell find *.7)
TARGETS=$(patsubst %.7,%.txt,$(DOCS))
.SUFFIXES: .7 .txt
# From .7 to .txt
.7.txt:
mandoc -T utf8 $< > $@
.PHONY: all
all: $(TARGETS)
.PHONY: clean
clean:
rm *.txt