talk = packaging-the-free-software-web
presentation = $(talk).pin
pdf = $(patsubst %.pin, %.pdf, $(presentation))
tarball = $(talk).tar.gz

$(presentation): $(presentation).in
	sed -f style.sed $< > $@

dist: pdf $(tarball)

pdf: $(pdf)

$(tarball):
	tar caf $@ *

$(pdf): %.pdf : %.pin
	pinpoint -o $@ $^

clean:
	$(RM) $(presentation) $(pdf) $(tarball)
