diff --git a/Makefile b/Makefile index 269304b..b938c87 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BINARY_NAME=ipng-router-backup SOURCE_DIR=src BUILD_DIR=. -GO_FILES=$(SOURCE_DIR)/router_backup.go +GO_FILES=$(SOURCE_DIR)/main.go # Default target .PHONY: all @@ -14,7 +14,7 @@ all: build .PHONY: build build: @echo "Building $(BINARY_NAME)..." - cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) router_backup.go + cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) main.go @echo "Build complete: $(BINARY_NAME)" # Clean build artifacts diff --git a/debian/rules b/debian/rules index 7655fa0..abf34b0 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ dh $@ override_dh_auto_build: - cd src && go build -o ../ipng-router-backup router_backup.go + cd src && go build -o ../ipng-router-backup main.go override_dh_auto_install: mkdir -p debian/ipng-router-backup/usr/bin diff --git a/src/router_backup.go b/src/main.go similarity index 100% rename from src/router_backup.go rename to src/main.go