summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nameauth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/nameauth/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/nameauth/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/nameauth/Makefile b/Master/texmf-dist/doc/latex/nameauth/Makefile
index bb2b992a217..71694f7a7d3 100644
--- a/Master/texmf-dist/doc/latex/nameauth/Makefile
+++ b/Master/texmf-dist/doc/latex/nameauth/Makefile
@@ -1,13 +1,22 @@
engine ?= pdflatex # Override on the command line
# with engine=latex
# or with engine=lualatex
- # or with engine=xetex.
+ # or with engine=xelatex.
+# The pdf target is the normal one. It omits the code listing.
pdf : sty
- $(engine) nameauth.dtx
- $(engine) nameauth.dtx
+ $(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
@@ -22,6 +31,9 @@ clean :
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
@@ -30,5 +42,4 @@ clobber : clean
touch nameauth.*
dist: pdf clean
-