summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/familytree/samples/Tokugawa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/familytree/samples/Tokugawa/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/familytree/samples/Tokugawa/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/familytree/samples/Tokugawa/Makefile b/Master/texmf-dist/doc/latex/familytree/samples/Tokugawa/Makefile
new file mode 100644
index 00000000000..9c91482b6f7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/familytree/samples/Tokugawa/Makefile
@@ -0,0 +1,20 @@
+
+Dir ?= /tmp
+Tgt = ${Dir}/Tokugawa.pdf
+
+LATEX ?= platex -kanji=euc
+include ../../cmd.mk
+
+all: ${Tgt}
+
+clean:
+ ${RM} *~ ${Tgt}
+
+install:
+ install -m 444 -pD ${Tgt} \
+ ${InstallDir}/source/latex/${Name}/$(notdir ${Tgt})
+
+${Tgt}: ${Dir}/%.pdf: %.tex ${Dir}/familytree.sty
+ $(call Latex, $<)
+ cd ${Dir}; ${DVIPDFMX} -o a.pdf $(basename $<).dvi
+ ${PDFCROP} ${Dir}/a.pdf $@