diff --git a/Makefile b/Makefile index 8a55d4b..c6ca839 100644 --- a/Makefile +++ b/Makefile @@ -4,11 +4,11 @@ default: commit commit: hosts @echo "Committing changes to the repository..." - @git add hosts hosts.txt list.txt + @git add hosts hosts.txt @git commit -m "Update hosts file" @git push origin main -hosts: list.txt +hosts: hostlists/*.txt ./generate.sh > $@ cp $@ hosts.txt