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