mirror of
https://github.com/containers/skopeo.git
synced 2026-02-02 23:39:02 +00:00
19 lines
336 B
Makefile
19 lines
336 B
Makefile
PREFIX := /usr/local
|
|
DATADIR := ${PREFIX}/share
|
|
MANDIR := $(DATADIR)/man
|
|
GOMD2MAN = go-md2man
|
|
|
|
docs: $(patsubst %.md,%.1,$(wildcard *.md))
|
|
|
|
%.1: %.md
|
|
$(GOMD2MAN) -in $^ -out $@
|
|
|
|
.PHONY: install
|
|
install:
|
|
install -d ${DESTDIR}/${MANDIR}/man1
|
|
install -m 0644 buildah*.1 ${DESTDIR}/${MANDIR}/man1
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) buildah*.1
|