Files
skopeo/Makefile
Vincent Demeester 30b1077a25 Update vendor using docker vendor script
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-01-22 21:26:46 +01:00

18 lines
315 B
Makefile

export GO15VENDOREXPERIMENT=1
BINDIR=${DESTDIR}/usr/bin/
MANDIR=${DESTDIR}/usr/share/man
all:
go build -o skopeo .
go-md2man -in man/skopeo.1.md -out skopeo.1
install:
install -d -m 0755 ${BINDIR}
install -m 755 skopeo ${BINDIR}
install -m 644 skopeo.1 ${MANDIR}/man1/
clean:
rm -f skopeo
rm -f skopeo.1