quest/doc/man/Makefile

16 lines
194 B
Makefile
Raw Permalink 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:
2023-02-19 16:14:55 +00:00
mandoc -T ascii $< > $@
2023-02-12 15:56:54 +00:00
.PHONY: all
all: $(TARGETS)
.PHONY: clean
clean:
rm *.txt