2010-01-25 08:59:44 -05:00
|
|
|
|
|
|
|
.PHONY: default clean intro psbook html all
|
|
|
|
|
|
|
|
intro_ := mufasa_intro
|
|
|
|
psbook_ := mufasa_ps_handbook
|
|
|
|
book_ := mufasa_handbook
|
2010-04-13 18:23:34 -04:00
|
|
|
dev_ := mufasa_developers
|
2010-01-25 08:59:44 -05:00
|
|
|
|
|
|
|
default: tex
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rvf $(intro_)
|
|
|
|
rm -rvf $(psbook_)
|
|
|
|
rm -rvf $(book_)
|
|
|
|
find -iname "$(intro_)*" | grep -v svn | grep -v tex | xargs rm -vf
|
|
|
|
find -iname "$(psbook_)*" | grep -v svn | grep -v tex | xargs rm -vf
|
|
|
|
find -iname "$(book_)*" | grep -v svn | grep -v tex | xargs rm -vf
|
2010-04-13 18:23:34 -04:00
|
|
|
find -iname "$(dev_)*" | grep -v svn | grep -v tex | xargs rm -vf
|
2010-01-25 08:59:44 -05:00
|
|
|
$(MAKE) -C Pics/ clean
|
|
|
|
|
|
|
|
tex:
|
|
|
|
$(MAKE) -C Pics/
|
|
|
|
texi2pdf $(intro_).tex #--silent
|
|
|
|
texi2pdf $(psbook_).tex #--silent
|
|
|
|
texi2pdf $(book_).tex #--silent
|
2010-04-13 18:23:34 -04:00
|
|
|
texi2pdf $(dev_).tex #--silent
|
2010-01-25 08:59:44 -05:00
|
|
|
|
|
|
|
|
|
|
|
html:
|
|
|
|
$(MAKE) -C Pics/
|
|
|
|
latex2html $(intro_).tex -local_icons -nofootnode
|
|
|
|
latex2html $(psbook_).tex -local_icons -nofootnode
|
|
|
|
latex2html $(book_).tex -local_icons -nofootnode
|
2010-04-13 18:23:34 -04:00
|
|
|
latex2html $(dev_).tex -local_icons -nofootnode
|