summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pedigree-perl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-03 20:29:06 +0000
committerKarl Berry <karl@freefriends.org>2021-10-03 20:29:06 +0000
commit28f1c89e56d775bac40b823db5f68910946938f0 (patch)
treea00ea8a3cc58b0e68606dd9c6d3cd37c180e0ac6 /Master/texmf-dist/source/latex/pedigree-perl
parent26d496f10139dab271159080e44518addcaf8a3d (diff)
pedigree-perl (3oct21)
git-svn-id: svn://tug.org/texlive/trunk@60686 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pedigree-perl')
-rw-r--r--Master/texmf-dist/source/latex/pedigree-perl/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/pedigree-perl/Makefile b/Master/texmf-dist/source/latex/pedigree-perl/Makefile
new file mode 100644
index 00000000000..446d533238e
--- /dev/null
+++ b/Master/texmf-dist/source/latex/pedigree-perl/Makefile
@@ -0,0 +1,57 @@
+#
+# Makefile for pedigree
+# $Id: Makefile,v 2.2 2007-07-29 19:52:51 boris Exp $
+#
+# This file is in public domain
+#
+
+PREFIX = /usr/local
+
+PERLSCRIPTS=pedigree.pl
+
+PERLLIBS = \
+ Pedigree.pm
+
+MANPAGES1=${PERLSCRIPTS:%.pl=%.1}
+MANPAGES3=${PERLLIBS:%.pm=%.3}
+
+
+all: man
+ cd Pedigree; ${MAKE} $@
+
+man: ${MANPAGES1} ${MANPAGES3}
+
+docs:
+ cd doc; ${MAKE} all
+
+install: all
+ install pedigree.pl $(PREFIX)/bin/pedigree
+ mkdir -p $(PREFIX)/lib/site_perl
+ install -m 644 ${PERLLIBS} $(PREFIX)/lib/site_perl
+ cd Pedigree; ${MAKE} $@
+
+installman:
+ install -m 644 pedigree.1 $(PREFIX)/man/man1
+ for x in ${MANPAGES3}; do install -m 644 $$x $(PREFIX)/man/man3/$$x; done
+ cd Pedigree; ${MAKE} $@
+
+%.1: %.pl
+ pod2man --section=1 -n $* -s 1 $< $@
+
+%.3: %.pm
+ pod2man --section=3 -n $* -s 3 $< $@
+
+clean:
+ cd doc; ${MAKE} $@
+ cd Pedigree; ${MAKE} $@
+
+distclean: clean
+ $(RM) ${MANPAGES1} ${MANPAGES3}
+ cd doc; ${MAKE} $@
+ cd Pedigree; ${MAKE} $@
+
+#
+# Archive for the distribution. Includes typeset documentation and man pages
+#
+archive: all docs clean
+ tar -czvf pedigree.tgz --exclude '*~' --exclude '*.tgz' --exclude CVS .