|
From: <dwa...@us...> - 2009-03-16 19:50:26
|
Revision: 9708
http://zaf.svn.sourceforge.net/zaf/?rev=9708&view=rev
Author: dwaynebailey
Date: 2009-03-16 19:50:16 +0000 (Mon, 16 Mar 2009)
Log Message:
-----------
Basic Makefile to make creating iCal files a little easier.
Added Paths:
-----------
trunk/calendar/Makefile
Added: trunk/calendar/Makefile
===================================================================
--- trunk/calendar/Makefile (rev 0)
+++ trunk/calendar/Makefile 2009-03-16 19:50:16 UTC (rev 9708)
@@ -0,0 +1,14 @@
+.PHONY: cal clean
+
+LANG.ICS=$(patsubst %.po, %.ics, $(shell ls *.po))
+
+%.pot: %.ics
+ ical2po --progress=none --errorlevel=traceback --duplicates=merge $< $@
+
+%.ics: %.po calendar.ics
+ po2ical --progress=none --errorlevel=traceback -t calendar.ics $< $@
+
+cal: $(LANG.ICS)
+
+clean:
+ rm -f $(LANG.ICS)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|