sneak.berlin-dns-blocklist/Makefile
2025-05-16 23:26:14 -07:00

17 lines
291 B
Makefile

.PHONY: default commit clean
default: commit
commit: hosts
@echo "Committing changes to the repository..."
@git add hosts hosts.txt list.txt
@git commit -m "Update hosts file"
@git push origin main
hosts: list.txt
./generate.sh > $@
cp $@ hosts.txt
clean:
@rm -rf hosts hosts.txt