This package is used to extract the revision and file information provided by the subversion revision control system. https://www.brucker.ch/projects/svninfo/
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.

87 lines
1.8KB

  1. ########################################################################
  2. ## LaTeX2e Makefile
  3. ##
  4. ## For configuration, update the following defines:
  5. ##
  6. ## $Id: Makefile 4701 2010-03-21 19:44:08Z brucker $
  7. ##
  8. ## This file ist part of the svninfo package. Please see the file
  9. ## svninfo.dtx for copyright information.
  10. ########################################################################
  11. BASE = svninfo
  12. TEXDIR =
  13. CONTRIB = $(TEXDIR)/lib/texmf/tex/latex2e/contrib/$(BASE)
  14. DOCDIR = $(TEXDIR)/doc/latex2e
  15. DVIPS = dvips
  16. LATEX = latex
  17. MAKEINDEX = makeindex
  18. PDFLATEX = pdflatex
  19. TAR = tar
  20. ########################################################################
  21. REV = 0.7.4
  22. TAR_FILE = svninfo-$(REV).tar.gz
  23. TAR_DIR = svninfo-$(REV)
  24. SRC = svninfo.dtx svninfo.ins README.md Makefile
  25. GEN = svninfo.sty svninfo.cfg svninfo.init
  26. all: $(BASE).sty dvi ps pdf clean
  27. sty: svninfo.sty
  28. dtx: svninfo.dtx
  29. dvi: svninfo.dvi
  30. ps: svninfo.ps
  31. pdf: svninfo.pdf
  32. idx: $(BASE).ind $(BASE).gls
  33. $(LATEX) $(BASE).dtx
  34. %.sty:%.dtx %.ins
  35. $(LATEX) $*.ins
  36. svninfo.cfg: svninfo.sty
  37. svninfo.init: svninfo.sty
  38. %.dvi:%.dtx
  39. $(LATEX) $*.dtx
  40. makeindex -s gind.ist -o svninfo.ind svninfo.idx
  41. makeindex -s gglo.ist -o svninfo.gls svninfo.glo
  42. $(LATEX) $*.dtx
  43. %.dvi:%.tex
  44. $(LATEX) $*.tex
  45. $(LATEX) $*.tex
  46. %.pdf:%.dtx
  47. rm -f *.toc *.out
  48. $(PDFLATEX) $*.dtx
  49. $(PDFLATEX) $*.dtx
  50. %.pdf:%.tex
  51. $(PDFLATEX) $*.tex
  52. $(PDFLATEX) $*.tex
  53. %.ps:%.dvi
  54. $(DVIPS) $*.dvi
  55. tar: distclean
  56. rm -fr $(TAR_DIR) $(TAR_FILE) $(TAR_FILE).gz
  57. mkdir $(TAR_DIR)
  58. cp -p $(SRC) $(TAR_DIR)
  59. $(TAR) -zcvf $(TAR_FILE) $(TAR_DIR);
  60. rm -rf $(TAR_DIR)
  61. clean:
  62. rm -f *.log *.aux *.lof *.lot *.toc *.idx *.ind *.glo *.gls *~ *.ilg \
  63. *.out
  64. realclean: clean
  65. rm -fr *.dvi *.ps $(GEN) *.pdf
  66. distclean: realclean
  67. rm -fr README-*