steed/doc/Makefile
2010-01-26 08:59:37 +00:00

28 lines
819 B
Makefile

include ../Rules.make
include ../config.make
pdf:
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
wiki:
wget "http://instead.pinebrush.com/wiki/ru/doku.php?id=doc-ru&do=export_xhtml" -O writing_games.html
wget "http://instead.pinebrush.com/wiki/en/doku.php?id=doc-en&do=export_xhtml" -O writing_games-en.html
wget "http://instead.pinebrush.com/wiki/ru/doku.php?id=doc-ru&do=export_raw" -O writing_games.txt
wget "http://instead.pinebrush.com/wiki/en/doku.php?id=doc-en&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.*