diff --git a/Makefile b/Makefile
index ad5eafd..7505a93 100755
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ INPUTS = index.xml footer.xml
SUBDIRS = about events docs office news users clubs media
# the following two rules are there so cow gets built first.
-cow-first: recurse-cow books.xml members.xml menu.xml all
+cow-first: events.ics recurse-cow books.xml members.xml menu.xml all
recurse-cow:
cd cow && $(MAKE) && cd ..
@@ -19,6 +19,9 @@ books.xml:
ceoquery booklist | awk -F \| '{ isbn = $$1; title = $$2; author = $$3; edition = $$4; published = $$5; gsub(/&/, "\\&", title); gsub(/&/, "\\&", author); gsub(/&/, "\\&", published); gsub(/&/, "\\&", edition); gsub(/"/, "\\"", title); gsub(/"/, "\\"", author); gsub(/"/, "\\"", published); gsub(/"/, "\\"", edition); print "