# # Rules to generate PDF versions of the ITIL documentation # # Using the dblatex package, http://dblatex.sourceforge.net/ DBLATEX = dblatex DOCBOOKSRC = itil.xml PDFS = $(DOCBOOKSRC:.xml=.pdf) all: $(PDFS) WIKIURL = http://wiki.skolelinux.de/itil?action=format&mimetype=xml/docbook itil.xml: # Fetch using GET from libwww-perl, as the wiki give me access denied # when I try to use wget. GET "$(WIKIURL)" > $@.new && mv $@.new $@ .SUFFIXES: .xml .pdf .xml.pdf: $(DBLATEX) $^ clean: $(RM) $(DOCBOOKSRC)