Commit 15f6b003 authored by Leo's avatar Leo
Browse files

feat(redo): add support for building and installing go binaries

parent d4796f3c
.redo
*[15].man
result*
print-go-deps
redo-ifchange manpages
redo-ifchange manpages go
MAN_5_PAGES="alint.5.man"
MAN_1_PAGES="apkbuild-lint.1.man aports-lint.1.man apkbuild-fixer.1.man initd-lint.1.man secfixes-check.1.man convert-volatile-source.1.man"
BINARIES="apkbuild-lint aports-lint apkbuild-fixer initd-lint secfixes-check convert-volatile-source"
GO_BINARIES="print-go-deps"
. ./conf
redo-ifchange $GO_BINARIES
......@@ -22,7 +22,7 @@ do
install -Dm0644 "$page" "$MANDIR"/man5/"${page%*.man}"
done
for binary in $BINARIES
for binary in $BINARIES $GO_BINARIES
do
install -Dm0755 "$binary" "$BINDIR/$binary"
done
go build -o "$3" "$2.go"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment