summaryrefslogtreecommitdiff
path: root/info/translations/ntheorem/vn/src/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/translations/ntheorem/vn/src/Makefile
Initial commit
Diffstat (limited to 'info/translations/ntheorem/vn/src/Makefile')
-rw-r--r--info/translations/ntheorem/vn/src/Makefile60
1 files changed, 60 insertions, 0 deletions
diff --git a/info/translations/ntheorem/vn/src/Makefile b/info/translations/ntheorem/vn/src/Makefile
new file mode 100644
index 0000000000..ca3e648d8f
--- /dev/null
+++ b/info/translations/ntheorem/vn/src/Makefile
@@ -0,0 +1,60 @@
+DOC = ntheorem-doc-vn
+SRC = ntheorem-doc-vn-src
+
+VERSION = `gawk -F '=' '{print $$2}' $(DOC).ktvnum`
+
+default:
+ @echo x
+
+latex:
+ @latex -src-specials $(DOC)
+
+clean:
+ @clean
+ @0texclean
+ @rm -fv *.thm
+
+index:
+ @sed -e 's/|hyperpage//g' $(DOC).idx > $(DOC).jdx
+ @makeindex -s gind.ist -o $(DOC).ind $(DOC).jdx
+
+doc: $(DOC)
+
+$(DOC):
+ @rm -fv printctl.tex
+ @latex $@
+ @latex $@
+ @sed -e 's/|hyperpage//g' $@.idx > $@.jdx
+ @makeindex -s gind.ist -o $@.ind $@.jdx
+ @latex $@
+ @dvips $@.dvi -o$@.ps
+ @ps2pdf $@.ps
+
+ps:
+ @dvips $(DOC).dvi
+
+pdf:
+ @ps2pdf $(DOC).ps
+
+pdflatex:
+ @pdflatex $(DOC)
+
+dist:
+ @mkdir -p {src,distro}
+ @rm -fv src/*
+ @rm -f distro/*$(VERSION).*
+ @cp *.tex TODO README.src Makefile src/
+ @zip -9r distro/$(DOC)-$(VERSION).zip \
+ README FILELIST COPYING \
+ $(DOC).pdf \
+ test.tex \
+ test.pdf \
+ src/* \
+ -x src/test.tex
+ @unzip -t distro/$(DOC)-$(VERSION).zip
+
+example:
+ @latex test
+ @latex test
+ @dvips test.dvi
+ @ps2pdf test.ps