include ../Rules.make include ../config.make pdf: # try xetex here, and hope it works ;) pdflatex manual.tex makeindex manual.idx pdflatex manual.tex $(RM) -f manual.aux manual.log manual.toc manual.out manual.idx manual.ind manual.ilg #to-do: interpret $PATH wiki: wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:documentation&do=export_xhtml" -O writing_games.html wget "http://instead.syscall.ru/wiki/doku.php?id=en:gamedev:documentation&do=export_xhtml" -O writing_games-en.html wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:documentation&do=export_raw" -O writing_games.txt wget "http://instead.syscall.ru/wiki/doku.php?id=en:gamedev:documentation&do=export_raw" -O writing_games-en.txt clean: all: install: $(INSTALLD) $(DOCPATH) $(INSTALL) *.html *.txt *.pdf $(DOCPATH) $(INSTALLD) $(MANPATH) $(INSTALL) *.6 $(MANPATH) uninstall: $(RM) -rf $(DOCPATH) $(RM) $(MANPATH)/instead.*