Release v1.0.1, clean up debian build

This commit is contained in:
2025-07-06 11:09:12 +00:00
parent a8a627a95e
commit 3ff7aeb61c
5 changed files with 22 additions and 15 deletions

View File

@ -30,7 +30,6 @@ build: sync-version
clean:
@echo "Cleaning build artifacts..."
rm -f $(BUILD_DIR)/$(BINARY_NAME)
@echo "Clean complete"
# Run tests
.PHONY: test
@ -53,18 +52,17 @@ pkg-deb: sync-version build
.PHONY: clean-pkg
clean-pkg:
@echo "Cleaning package artifacts..."
@rm -f *.deb
@echo "Package cleanup complete"
rm -f ../$(BINARY_NAME)_*.deb ../$(BINARY_NAME)_*.changes ../$(BINARY_NAME)_*.buildinfo
# Show help
.PHONY: help
help:
@echo "Available targets:"
@echo " build - Build the router_backup binary"
@echo " clean - Remove build artifacts"
@echo " test - Run tests"
@echo " fmt - Format Go code"
@echo " build - Build the router_backup binary"
@echo " clean - Remove build artifacts"
@echo " test - Run tests"
@echo " fmt - Format Go code"
@echo " sync-version - Sync version from debian/changelog to Go source"
@echo " pkg-deb - Create Debian package"
@echo " clean-pkg - Remove package artifacts"
@echo " help - Show this help message"
@echo " pkg-deb - Create Debian package"
@echo " clean-pkg - Remove package artifacts"
@echo " help - Show this help message"