VERSION = 1.1.1 SOURCES = COPYING \ CVS \ PDFTemplate.html \ class.PDFTemplate.php \ pdf.css \ pdf.dtd \ pdf.xml \ xml_parser.php \ xmlpdf.php \ all: dist dist: rm -f pdftemplate-${VERSION}.tar.gz pdftemplate-${VERSION}.zip tar -czf pdftemplate-${VERSION}.tar.gz ${SOURCES} zip pdftemplate-${VERSION}.zip ${SOURCES}