# $Id: Makefile,v 1.2 2005/11/19 07:02:26 connolly Exp $

ITIN=aa-atl-7oct

include ../12dc-yul/swtrav.mak

all: brief cal

TIDY=tidy -q

CAL=$(W)/2002/12/cal
SWAP=$(W)/2000/10/swap

,items.ics: ,items.rdf
	PYTHONPATH=$(SWAP):$(CAL) $(PYTHON) $(SWAP)/pim/toIcal.py $< >$@

,items.rdf: ,items.html
	$(XSLTPROC) --output $@ $(CAL)/glean-hcal.xsl $<

,items.html: ,bookmarks-t.html fixb.xsl
	$(XSLTPROC) --output $@ fixb.xsl ,bookmarks-t.html

BOOKMARKS=/Users/connolly/Library/Application\ Support/Firefox/Profiles/qii77oye.default/bookmarks.html
,bookmarks-t.html: $(BOOKMARKS)
	$(TIDY) -n -i -ascii -asxml "$<" >$@
