Files
skopeo/docs/Makefile
TomSweeneyRedHat 2fe578c82f Create manpages for the buildah project
Second pass of manpages, more tweaking to follow.

Signed-off-by: TomSweeneyRedHat <tsweney@redhat.com>

Closes: #53
Approved by: nalind
2017-04-11 17:22:37 +00:00

17 lines
264 B
Makefile

MANDIR=/usr/share/man/man1
GOMD2MAN = go-md2man
docs: $(patsubst %.md,%.1,$(wildcard *.md))
%.1: %.md
$(GOMD2MAN) -in $^ -out $@
.PHONY: install
install:
install -m 0644 buildah*.1 ${MANDIR}
.PHONY: clean
clean:
$(RM) $(MANDIR)/buildah*.1
$(RM) buildah*.1