Add package for FreeBSD #2
9
Makefile
9
Makefile
@ -52,6 +52,7 @@ package:
|
|||||||
@$(MAKE) _package_linux
|
@$(MAKE) _package_linux
|
||||||
@$(MAKE) _package_windows
|
@$(MAKE) _package_windows
|
||||||
@$(MAKE) _package_darwin
|
@$(MAKE) _package_darwin
|
||||||
|
@$(MAKE) _package_freebsd
|
||||||
@$(MAKE) _finish_package
|
@$(MAKE) _finish_package
|
||||||
|
|
||||||
package_linux:
|
package_linux:
|
||||||
@ -69,6 +70,11 @@ package_darwin:
|
|||||||
@$(MAKE) _package_darwin
|
@$(MAKE) _package_darwin
|
||||||
@$(MAKE) _finish_package
|
@$(MAKE) _finish_package
|
||||||
|
|
||||||
|
package_freebsd:
|
||||||
|
@$(MAKE) _prepare_package
|
||||||
|
@$(MAKE) _package_freebsd
|
||||||
|
@$(MAKE) _finish_package
|
||||||
|
|
||||||
_package_linux:
|
_package_linux:
|
||||||
cp svn-manager.service ${PACKAGE_PATH}/
|
cp svn-manager.service ${PACKAGE_PATH}/
|
||||||
@$(MAKE) --no-print-directory GOOS=linux GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_tar
|
@$(MAKE) --no-print-directory GOOS=linux GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_tar
|
||||||
@ -80,6 +86,9 @@ _package_windows:
|
|||||||
_package_darwin:
|
_package_darwin:
|
||||||
@$(MAKE) --no-print-directory GOOS=darwin GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_zip
|
@$(MAKE) --no-print-directory GOOS=darwin GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_zip
|
||||||
|
|
||||||
|
_package_freebsd:
|
||||||
|
@$(MAKE) --no-print-directory GOOS=freebsd GOARCH=amd64 STATIC_OUT=${PACKAGE_PATH}/${OUT} _package_tar
|
||||||
|
|
||||||
_prepare_package:
|
_prepare_package:
|
||||||
rm -rf ${PACKAGE_PATH}
|
rm -rf ${PACKAGE_PATH}
|
||||||
mkdir -p ${PACKAGE_PATH}
|
mkdir -p ${PACKAGE_PATH}
|
||||||
|
Loading…
Reference in New Issue
Block a user