summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nameauth/Makefile
blob: 71694f7a7d3be70e12c99b7f5c19aa8318b4aff9 (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
engine ?= pdflatex	# Override on the command line
			# with engine=latex
			# or with engine=lualatex
			# or with engine=xelatex.

# The pdf target is the normal one. It omits the code listing.
pdf	:	sty
		$(engine) -draftmode "\AtBeginDocument{\OnlyDescription} \input nameauth.dtx"
		makeindex -s gglo.ist -o nameauth.gls nameauth.glo
		makeindex -s gind.ist -o nameauth.ind nameauth.idx
		$(engine) "\AtBeginDocument{\OnlyDescription} \input nameauth.dtx"
		$(engine) "\AtBeginDocument{\OnlyDescription} \input nameauth.dtx"

# Making this target includes the code listing
fullpdf	:	sty
		$(engine) nameauth.dtx
		makeindex -s gglo.ist -o nameauth.gls nameauth.glo
		makeindex -s gind.ist -o nameauth.ind nameauth.idx
		$(engine) nameauth.dtx
		$(engine) nameauth.dtx

sty	:	nameauth.dtx nameauth.ins
		$(engine) nameauth.ins

clean	:
		rm -f nameauth.aux
		rm -f nameauth.glo
		rm -f nameauth.gls
		rm -f nameauth.idx
		rm -f nameauth.ilg
		rm -f nameauth.ind
		rm -f nameauth.log
		rm -f nameauth.out
		rm -f nameauth.toc
		rm -f nameauth.hd
		rm -f nameauth.top

clobber	:	clean
		rm -f nameauth.dvi
		rm -f nameauth.pdf
		rm -f nameauth.sty
		touch nameauth.*

dist:		pdf clean