summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/familytree/samples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/familytree/samples/Makefile')
-rw-r--r--macros/latex/contrib/familytree/samples/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/macros/latex/contrib/familytree/samples/Makefile b/macros/latex/contrib/familytree/samples/Makefile
new file mode 100644
index 0000000000..61db41cab8
--- /dev/null
+++ b/macros/latex/contrib/familytree/samples/Makefile
@@ -0,0 +1,24 @@
+
+Dir ?= /tmp
+Tgt = ${Dir}/Crawley.pdf
+
+include ../cmd.mk
+
+all: ${Tgt}
+ for i in Asai Tokugawa; \
+ do ${MAKE} -C ${CURDIR}/$${i} $@; done
+
+clean:
+ ${RM} *~ ${Tgt}
+ for i in Asai Tokugawa; \
+ do ${MAKE} -C ${CURDIR}/$${i} $@; done
+
+install: all
+ install -m 444 -pD ${Tgt} \
+ ${InstallDir}/source/latex/${Name}/$(notdir ${Tgt})
+ for i in Asai Tokugawa; \
+ do ${MAKE} -C ${CURDIR}/$${i} $@; done
+
+${Tgt}: ${Dir}/%.pdf: %.tex ${Dir}/familytree.sty
+ $(call Latex, $<)
+ cd ${Dir}; ${DVIPDFMX} $(basename $<).dvi