Debian Codegraph @

docs/Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 PREFIX := /usr/local
2 DATADIR := ${PREFIX}/share
3 MANDIR := $(DATADIR)/man
4 GOMD2MAN ?= $(shell command -v go-md2man || echo '$(GOBIN)/go-md2man')
5
6 docs: $(patsubst %.md,%,$(wildcard *.md))
7
8 %.5: %.5.md
9 $(GOMD2MAN) -in $^ -out $@
10
11 .PHONY: install
12 install:
13 install -d ${DESTDIR}/${MANDIR}/man5
14 install -m 0644 *5 ${DESTDIR}/${MANDIR}/man5
15 install -m 0644 links/.*.5 ${DESTDIR}/${MANDIR}/man5
16
17 .PHONY: clean
18 clean:
19 $(RM) *.5