Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-01-21 12:26:59 +01:00
parent f6bb924053
commit 7c8a3fdbe0
8 changed files with 343 additions and 10 deletions

View File

@@ -1,13 +1,17 @@
export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
BINDIR=${DESTDIR}/usr/local/bin/
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