Added a new target for make called norm, and cleaned up backups

This commit is contained in:
2025-12-29 21:16:45 +00:00
parent 07e26cd380
commit 7ae5ba7684
134 changed files with 8 additions and 4721 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: all fast clean tests help
.PHONY: all fast clean norm tests help
# Default target: full build with search index
all:
@@ -15,6 +15,10 @@ clean:
@echo "Cleaning output directory..."
rm -rf output/
norm:
@echo "sorting out the backups..."
find . -path ./backups -prune -o -type f -name '*~' -exec mv {} backups/ \;
tests:
@echo "Running all the tests..."
emacs -batch -l ert -l tests/macros-tests.el -f ert-run-tests-batch-and-exit
@@ -26,4 +30,5 @@ help:
@echo " make fast - Fast rebuild (without search index)"
@echo " make clean - Remove output directory"
@echo " make tests - Run all of the tests associated with the project"
@echo " make norm - Move all files that end with ~ to the backup folder"
@echo " make help - Show this help message"