summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hepnames/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-07 23:03:40 +0000
committerKarl Berry <karl@freefriends.org>2013-10-07 23:03:40 +0000
commit71e1ef7201c8a380aa66cbdeb409aeeeb72ccc7e (patch)
tree439f2c755b08eeecf6f105c549a8e2bb7280cb23 /Master/texmf-dist/doc/latex/hepnames/Makefile
parentb1c0b4cd7b7d238d2bb2b035d2f88b1969f4e107 (diff)
hepnames (7oct13)
git-svn-id: svn://tug.org/texlive/trunk@31856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hepnames/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/hepnames/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hepnames/Makefile b/Master/texmf-dist/doc/latex/hepnames/Makefile
new file mode 100644
index 00000000000..307156e3bf1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hepnames/Makefile
@@ -0,0 +1,46 @@
+HN := hepnames
+HPN := heppennames
+HNN := hepnicenames
+
+PDFLATEX := pdflatex --interaction=nonstopmode
+LATEX := latex "\scrollmode\input"
+DVIPS := dvips
+
+ifndef V
+OUTPUT := > /dev/null 2> /dev/null
+#$(info OUTPUT = $(OUTPUT))
+endif
+
+.PHONY: all pdf ps clean
+
+all: pdf $(HN).tar.gz
+ @true
+
+pdf: $(HN).pdf $(HNN)-rm.pdf $(HNN)-it.pdf $(HPN)-rm.pdf $(HPN)-it.pdf
+ @true
+
+ps: $(HN).ps $(HNN)-rm.ps $(HNN)-it.ps $(HPN)-rm.ps $(HPN)-it.ps
+ @true
+
+$(HN).tar.gz: README ChangeLog $(wildcard *.sty) $(wildcard *.pdf) $(wildcard *.tex) mkmacrotables Makefile
+ @echo "Building $@ archive"
+ tar czf $@ README ChangeLog *.sty *.pdf *.tex mkmacrotables Makefile
+
+%.pdf: %.tex $(HNN)-macros.tex $(HPN)-macros.tex $(wildcard *.sty)
+ @echo "Running pdflatex on $< ..."
+ @$(PDFLATEX) $< $(OUTPUT)
+
+%.ps: %.dvi
+ @echo "Running dvips on $< ..."
+ @$(DVIPS) $< $(OUTPUT)
+
+%.dvi: %.tex $(HNN)-macros.tex $(HPN)-macros.tex $(wildcard *.sty)
+ @echo "Running latex on $< ..."
+ @$(LATEX) $< $(OUTPUT)
+
+$(HNN)-macros.tex $(HNN)-rm.tex $(HNN)-it.tex $(HPN)-macros.tex $(HPN)-rm.tex $(HPN)-it.tex : $(wildcard *.sty) mkmacrotables
+ @echo "Running mkmacrotables to generate code -> symbol tables"
+ @./mkmacrotables
+
+clean:
+ rm -f *.tar.gz *.tgz *.dvi *.log *.aux *.pdf *.ps *.tmp *-macros.tex *-rm.tex *-it.tex