summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyper/Makefile-MSDos
blob: e45ddb604f6d40a3227951bf077ceefeb0acb8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# MSDos-Makefile

### variables to configure for the local system

#installation directories
TEXINPUTS   = .
TEXDOCS_SRC = .
TEXDOCS_DVI = $(TEXDOCS_SRC)
TEXDOCS_PS  = $(TEXDOCS_SRC)

#executables
LATEX = latex
DVIPS = dvips -z -o

THEMAKE  = $(MAKE) -f Makefile-MSDos

COPY  = copy
ECHO  = echo
MKDIR = mkdir
RM    = del

### do not change anything beyond this line

PACKAGE = hyper

default: $(PACKAGE).dvi

$(PACKAGE).dvi: $(PACKAGE).dtx
	$(LATEX) $(PACKAGE).dtx
	$(LATEX) $(PACKAGE).dtx
	$(LATEX) $(PACKAGE).dtx

$(PACKAGE).ps: $(PACKAGE).dvi
	$(DVIPS) $(PACKAGE).ps $(PACKAGE).dvi

files: $(PACKAGE).ins $(PACKAGE).dtx
	$(LATEX) $(PACKAGE).ins

install:
	$(THEMAKE) -s install-info
	
install-info:
	$(ECHO) "After configuring the Makefile call:"
	$(ECHO) "  $(THEMAKE) install-package to install the package (without sources)"
	$(ECHO) "  $(THEMAKE) install-doc     to install the documentation sources"
	$(ECHO) "  $(THEMAKE) install-dvi     to install the documentation in dvi-format"
	$(ECHO) "  $(THEMAKE) install-ps      to install the documentation in ps-format"
	$(ECHO) "  $(THEMAKE) install-all     to install the package and the documentation"

install-package: files
	-$(MKDIR) $(TEXINPUTS)
	$(COPY) *.sty $(TEXINPUTS)
	$(COPY) *.hyp $(TEXINPUTS)
	$(COPY) contrib\*.hyp $(TEXINPUTS)
	$(COPY) scontrib\*.hyp $(TEXINPUTS)

install-doc: $(PACKAGE).dtx
	- $(MKDIR) $(TEXDOCS_SRC)
	$(COPY) $(PACKAGE).dtx $(TEXDOCS_SRC)

install-dvi: $(PACKAGE).dvi
	-$(MKDIR) $(TEXDOCS_DVI)
	$(COPY) $(PACKAGE).dvi $(TEXDOCS_DVI)

install-ps: $(PACKAGE).ps
	-$(MKDIR) $(TEXDOCS_PS)
	$(COPY) $(PACKAGE).ps $(TEXDOCS_PS)

install-all: install-package install-doc install-dvi install-ps

clean:
	$(RM) *.aux *.cfg *.dvi *.hyp *.log *.ps *.sty *.toc