21 lines
471 B
Makefile
21 lines
471 B
Makefile
# Define paths and installation directories
|
|
BINARY_NAME := sshtunnel
|
|
BINARY_PATH := bin/$(BINARY_NAME)
|
|
COMPLETION_SCRIPT := bin/${BINARY_NAME}-completion.bash
|
|
|
|
# Build the Go application
|
|
build: clean
|
|
@bin/scripts/build-binary.sh $(BINARY_NAME) $(BINARY_PATH) $(COMPLETION_SCRIPT)
|
|
|
|
clean:
|
|
@bin/scripts/clean.sh $(BINARY_PATH) $(COMPLETION_SCRIPT)
|
|
|
|
uninstall:
|
|
@bin/scripts/uninstall.sh
|
|
|
|
install:
|
|
@bin/scripts/install.sh
|
|
|
|
install-global:
|
|
@bin/scripts/install-global.sh
|