summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nameauth/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-02-28 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-02-28 03:01:24 +0000
commit189140b53960215eec1626503040fb38360ab4ed (patch)
treee7551ffd51e263ef259dcd95668d5b35377590cd /macros/latex/contrib/nameauth/Makefile
parent4e6fb7c03bc033485887a99d2ffeca70ef8c0644 (diff)
CTAN sync 202102280301
Diffstat (limited to 'macros/latex/contrib/nameauth/Makefile')
-rw-r--r--macros/latex/contrib/nameauth/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/macros/latex/contrib/nameauth/Makefile b/macros/latex/contrib/nameauth/Makefile
index d2a47efb83..ffd7d76e94 100644
--- a/macros/latex/contrib/nameauth/Makefile
+++ b/macros/latex/contrib/nameauth/Makefile
@@ -46,7 +46,7 @@ examples.pdf : examples.tex
if [ -f examples.out.ps ]; then rm examples.out.ps; fi
#
# This is the recipe for the package docs. It will work also for dvi output.
-$(NAME).pdf : $(NAME).dtx
+$(NAME).pdf : $(NAME).dtx nameauth.sty nameauth.ins
$(ENGINE) -shell-escape -recorder -interaction=batchmode $(NAME).dtx >/dev/null
$(ENGINE) --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null
if [ -f $(NAME).glo ]; then makeindex -q -s gglo.ist -o $(NAME).gls $(NAME).glo; fi
@@ -55,6 +55,24 @@ $(NAME).pdf : $(NAME).dtx
$(ENGINE) --recorder --interaction=nonstopmode $(NAME).dtx > /dev/null
if [ -f $(NAME).dvi ]; then dvipdf $(NAME); fi
#
+# These are the recipes for all the files that need to be extracted
+# from the dtx file. Any one of them simply extracts the following:
+# README.md, nameauth.ins, nameauth.sty, examples.tex
+#
+# Once any one of these recipes is run, the rest will be satisfied.
+# But they need to be there for dependencies to work best.
+README.md : $(NAME).dtx
+ pdftex $(NAME).dtx
+
+nameauth.ins : $(NAME).dtx
+ pdftex $(NAME).dtx
+
+nameauth.sty : $(NAME).dtx
+ pdftex $(NAME).dtx
+
+examples.tex : $(NAME).dtx
+ pdftex $(NAME).dtx
+#
# Using this recipe deletes the auxiliary and log files
clean:
rm -f $(NAME).{aux,fls,glo,gls,hd,idx,ilg,ind,ins,log,out,toc}