summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/gentombow
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/gentombow')
-rw-r--r--Master/texmf-dist/source/latex/gentombow/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/gentombow/Makefile b/Master/texmf-dist/source/latex/gentombow/Makefile
new file mode 100644
index 00000000000..f376d1ade0b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/gentombow/Makefile
@@ -0,0 +1,36 @@
+KANJI = -kanji=utf8
+FONTMAP = -f ipaex.map -f ptex-ipaex.map
+TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
+
+all: bounddvi.pdf bounddvi-en.pdf \
+ gentombow.pdf gentombow-ja.pdf #pxgentombow.pdf
+
+.SUFFIXES: .tex .dvi .pdf
+.tex.dvi:
+ platex $(KANJI) $<
+ platex $(KANJI) $<
+ rm *.aux *.log
+.dvi.pdf:
+ dvipdfmx $(FONTMAP) $<
+
+bounddvi-en.dvi: bounddvi-en.tex
+ latex $<
+ latex $<
+ rm *.aux *.log
+gentombow.pdf: gentombow.tex
+ pdflatex $<
+ pdflatex $<
+ rm *.aux *.log
+
+.PHONY: install clean
+install:
+ mkdir -p ${TEXMF}/doc/latex/gentombow
+ cp ./Makefile ${TEXMF}/doc/latex/gentombow/
+ cp ./LICENSE ${TEXMF}/doc/latex/gentombow/
+ cp ./README.md ${TEXMF}/doc/latex/gentombow/
+ cp ./*.pdf ${TEXMF}/doc/latex/gentombow/
+ cp ./*.tex ${TEXMF}/doc/latex/gentombow/
+ mkdir -p ${TEXMF}/tex/latex/gentombow
+ cp ./*.sty ${TEXMF}/tex/latex/gentombow/
+clean:
+ rm -f *.dvi *.pdf