texfile = History_of_Linux.tex pdffile = History_of_Linux.pdf swffile = History_of_Linux.swf pdf: $(texfile) pdflatex $(texfile) && pdflatex $(texfile) html: $(texfile) latex2html -no_navigation -split 0 -info 0 -no_images $(texfile) && \ latex2html -images_only $(texfile) # have to re-link the images manually. swf: $(pdffile) pdf2swf -lb -o $(swffile) $(pdffile) # pdf2swf -L /usr/share/swftools/swfs/swft_loader.swf \ -B /usr/share/swftools/swfs/keyboard_viewer.swf \ -o $(swffile) $(pdffile) clean: rm *.aux *.toc *.lof *.lot *.log *.