when is a very nice perl program to keep track of appointments. I wanted to use more than one file as the input of when, so I made this make script:
#!/usr/bin/make -f
calendar = $(HOME)/.when/calendar
.PHONY: all
all: $(calendar)
when --nopaging
$(calendar): $(wildcard $(HOME)/.when/calendars/*.when)
cat $^ > $@