Debian Codegraph @

texmf-dist/source/latex/hyper/Makefile-MSDos

raw
1 # MSDos-Makefile
2
3 ### variables to configure for the local system
4
5 #installation directories
6 TEXINPUTS = .
7 TEXDOCS_SRC = .
8 TEXDOCS_DVI = $(TEXDOCS_SRC)
9 TEXDOCS_PS = $(TEXDOCS_SRC)
10
11 #executables
12 LATEX = latex
13 DVIPS = dvips -z -o
14
15 THEMAKE = $(MAKE) -f Makefile-MSDos
16
17 COPY = copy
18 ECHO = echo
19 MKDIR = mkdir
20 RM = del
21
22 ### do not change anything beyond this line
23
24 PACKAGE = hyper
25
26 default: $(PACKAGE).dvi
27
28 $(PACKAGE).dvi: $(PACKAGE).dtx
29 $(LATEX) $(PACKAGE).dtx
30 $(LATEX) $(PACKAGE).dtx
31 $(LATEX) $(PACKAGE).dtx
32
33 $(PACKAGE).ps: $(PACKAGE).dvi
34 $(DVIPS) $(PACKAGE).ps $(PACKAGE).dvi
35
36 files: $(PACKAGE).ins $(PACKAGE).dtx
37 $(LATEX) $(PACKAGE).ins
38
39 install:
40 $(THEMAKE) -s install-info
41
42 install-info:
43 $(ECHO) "After configuring the Makefile call:"
44 $(ECHO) " $(THEMAKE) install-package to install the package (without sources)"
45 $(ECHO) " $(THEMAKE) install-doc to install the documentation sources"
46 $(ECHO) " $(THEMAKE) install-dvi to install the documentation in dvi-format"
47 $(ECHO) " $(THEMAKE) install-ps to install the documentation in ps-format"
48 $(ECHO) " $(THEMAKE) install-all to install the package and the documentation"
49
50 install-package: files
51 -$(MKDIR) $(TEXINPUTS)
52 $(COPY) *.sty $(TEXINPUTS)
53 $(COPY) *.hyp $(TEXINPUTS)
54 $(COPY) contrib\*.hyp $(TEXINPUTS)
55 $(COPY) scontrib\*.hyp $(TEXINPUTS)
56
57 install-doc: $(PACKAGE).dtx
58 - $(MKDIR) $(TEXDOCS_SRC)
59 $(COPY) $(PACKAGE).dtx $(TEXDOCS_SRC)
60
61 install-dvi: $(PACKAGE).dvi
62 -$(MKDIR) $(TEXDOCS_DVI)
63 $(COPY) $(PACKAGE).dvi $(TEXDOCS_DVI)
64
65 install-ps: $(PACKAGE).ps
66 -$(MKDIR) $(TEXDOCS_PS)
67 $(COPY) $(PACKAGE).ps $(TEXDOCS_PS)
68
69 install-all: install-package install-doc install-dvi install-ps
70
71 clean:
72 $(RM) *.aux *.cfg *.dvi *.hyp *.log *.ps *.sty *.toc