From 28f1c89e56d775bac40b823db5f68910946938f0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Oct 2021 20:29:06 +0000 Subject: pedigree-perl (3oct21) git-svn-id: svn://tug.org/texlive/trunk@60686 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/pedigree-perl/Makefile | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Master/texmf-dist/source/latex/pedigree-perl/Makefile (limited to 'Master/texmf-dist/source') 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 . -- cgit v1.2.3