X-Git-Url: https://git.madduck.net/etc/crontab.git/blobdiff_plain/c81cb5506f1ae56350f98ac6f09fbb6216fa5e86..c5b3ea763f5b6bb2f34e45736bf5af68ad5aab5b:/.crontab.d/Makefile diff --git a/.crontab.d/Makefile b/.crontab.d/Makefile index de73d90..988fd25 100644 --- a/.crontab.d/Makefile +++ b/.crontab.d/Makefile @@ -1,12 +1,13 @@ SHELL = /bin/zsh -CRONTAB: $(shell setopt extended_glob && echo base *~base~CRONTAB~Makefile~.gitignore) +CRONTAB: $(shell setopt extended_glob && echo base *~(base|CRONTAB|Makefile|.gitignore)(N)) for f in $^; do \ echo "### from file '$$f'"; \ cat $$f; \ echo; \ done > $@ crontab - < $@ +.PHONY: CRONTAB clean: rm -f CRONTAB