steed/doc/Makefile

45 lines
2.3 KiB
Makefile
Raw Normal View History

2009-08-26 08:25:53 +03:00
include ../Rules.make
2009-11-08 16:33:23 +02:00
include ../config.make
2009-11-07 10:00:05 +02:00
pdf:
2010-11-23 20:40:26 +02:00
# try xetex here, and hope it works ;)
pdflatex manual.tex
makeindex manual.idx
2010-11-23 20:40:26 +02:00
pdflatex manual.tex
2009-11-12 17:20:13 +02:00
$(RM) -f manual.aux manual.log manual.toc manual.out manual.idx manual.ind manual.ilg
2010-11-17 12:45:36 +02:00
#to-do: interpret $PATH
2010-01-26 10:02:55 +02:00
wiki:
2010-12-15 16:36:03 +02:00
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
2010-01-26 10:02:55 +02:00
2011-02-28 11:04:59 +02:00
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:click&do=export_raw" -O modules/click.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:format&do=export_raw" -O modules/format.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:hideinv&do=export_raw" -O modules/hideinv.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:prefs&do=export_raw" -O modules/prefs.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:timer&do=export_raw" -O modules/timer.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:xact&do=export_raw" -O modules/xact.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:dash&do=export_raw" -O modules/dash.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:dbg&do=export_raw" -O modules/dbg.txt
2011-03-08 10:18:00 +02:00
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:hotkeys&do=export_raw" -O modules/hotkeys.txt
2011-02-28 11:04:59 +02:00
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:para&do=export_raw" -O modules/para.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:quotes&do=export_raw" -O modules/quotes.txt
wget "http://instead.syscall.ru/wiki/doku.php?id=ru:gamedev:modules:theme&do=export_raw" -O modules/theme.txt
2010-01-26 10:02:55 +02:00
2009-08-26 08:25:53 +03:00
clean:
all:
install:
2009-09-23 07:21:24 +03:00
$(INSTALLD) $(DOCPATH)
2010-01-26 10:59:37 +02:00
$(INSTALL) *.html *.txt *.pdf $(DOCPATH)
2011-02-28 11:04:59 +02:00
$(INSTALLD) $(DOCPATH)/modules
$(INSTALL) modules/*.txt $(DOCPATH)/modules
2009-09-23 07:21:24 +03:00
$(INSTALLD) $(MANPATH)
$(INSTALL) *.6 $(MANPATH)
uninstall:
$(RM) -rf $(DOCPATH)
$(RM) $(MANPATH)/instead.*