forked from sloum/bombadillo
Merge branch 'release-2.3.1' of https://tildegit.org/sloum/bombadillo into release-2.3.1
This commit is contained in:
commit
3af583da9b
8
Makefile
8
Makefile
|
@ -57,6 +57,7 @@ install-bin: build
|
||||||
clean:
|
clean:
|
||||||
${GOCMD} clean
|
${GOCMD} clean
|
||||||
rm -f ./bombadillo.1.gz 2> /dev/null
|
rm -f ./bombadillo.1.gz 2> /dev/null
|
||||||
|
rm -f ./${BINARY}_* 2> /dev/null
|
||||||
|
|
||||||
.PHONY: uninstall
|
.PHONY: uninstall
|
||||||
uninstall: clean
|
uninstall: clean
|
||||||
|
@ -66,6 +67,13 @@ uninstall: clean
|
||||||
rm -f ${DESTDIR}${DATAROOTDIR}/pixmaps/bombadillo-icon.png
|
rm -f ${DESTDIR}${DATAROOTDIR}/pixmaps/bombadillo-icon.png
|
||||||
-update-desktop-database 2> /dev/null
|
-update-desktop-database 2> /dev/null
|
||||||
|
|
||||||
|
.PHONY: release
|
||||||
|
release:
|
||||||
|
GOOS=linux GOARCH=amd64 ${GOCMD} build ${LDFLAGS} -o ${BINARY}_linux_64
|
||||||
|
GOOS=linux GOARCH=arm ${GOCMD} build ${LDFLAGS} -o ${BINARY}_linux_arm
|
||||||
|
GOOS=linux GOARCH=386 ${GOCMD} build ${LDFLAGS} -o ${BINARY}_linux_32
|
||||||
|
GOOS=darwin GOARCH=amd64 ${GOCMD} build ${LDFLAGS} -o ${BINARY}_darwin_64
|
||||||
|
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: clean build
|
test: clean build
|
||||||
|
|
|
@ -27,6 +27,7 @@ These instructions will get a copy of the project up and running on your local m
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
You will need to have [Go](https://golang.org/) version >= 1.11.
|
You will need to have [Go](https://golang.org/) version >= 1.11.
|
||||||
|
To use the Makefile you will need a make that is GNU Make compatible (sorry BSD folks)
|
||||||
|
|
||||||
### Building, Installing, Uninstalling
|
### Building, Installing, Uninstalling
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue