Based on the original Rocket Workbench on SourceForge in CVS at: https://sourceforge.net/projects/rocketworkbench
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
569 B

  1. SITE = antoine@rocketworkbench.sourceforge.net:/home/groups/rocketworkbench/htdocs/grain/star/
  2. DOCSITE = antoine@rocketworkbench.sourceforge.net:/home/groups/rocketworkbench/htdocs/grain/doc/
  3. DOC = star
  4. PS = $(DOC).ps
  5. PDF = $(DOC).pdf
  6. TEX = $(DOC).tex
  7. all: $(PS) $(PDF)
  8. $(PS):
  9. latex $(TEX)
  10. latex $(TEX)
  11. dvips -f < $(DOC).dvi > $(PS)
  12. $(PDF): $(PS)
  13. ps2pdf $(PS)
  14. html:
  15. latex2html -white -image_type gif -no_navigation -split 0 -dir html -mkdir $(TEX)
  16. upload:
  17. scp html/* $(SITE)
  18. scp $(PS) $(PDF) $(DOCSITE)
  19. clean:
  20. rm -f *~ *.{aux,log,toc,dvi} $(PS) $(PDF)