diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 23:51:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 23:51:55 +0000 |
commit | bb488f010b8a5dc8ea2f744d335636a883e46edc (patch) | |
tree | b40fd48896b4d73167a7228db16cc67c15309f09 /Master/texmf-dist/source/latex/concmath/Makefile | |
parent | 9b9579f2f1c4c73e0a1d5c88a38fa35bbd1586d8 (diff) |
trunk/Master/texmf-dist/source/latex/concmath
git-svn-id: svn://tug.org/texlive/trunk@199 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/concmath/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/concmath/Makefile | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/concmath/Makefile b/Master/texmf-dist/source/latex/concmath/Makefile new file mode 100644 index 00000000000..7b89e16d941 --- /dev/null +++ b/Master/texmf-dist/source/latex/concmath/Makefile @@ -0,0 +1,129 @@ +## Makefile for the installation of the `concmath' package: +## +## 1999-03-10, Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> +## + +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +## Usage: +## +## say 'make' or 'make all' to unpack the macros and typeset +## the documentation +## +## say 'make install' to install the macros and documentation +## + + +### package specifics (don't change!): + +# package name, used in directories +FORMAT = latex +PACKAGE = concmath + +# file names, used in dependencies + +SRCFILES = \ + $(PACKAGE).dtx \ + $(PACKAGE).ins +TEXFILES = \ + ot1ccr.fd \ + omlccr.fd \ + omsccr.fd \ + omlccm.fd \ + omsccsy.fd \ + omxccex.fd \ + ucca.fd \ + uccb.fd \ + $(PACKAGE).sty +DOCFILES = \ + $(PACKAGE).dvi + + +### customizable variables: + +# Where the TeX installation resides: +TEXMF = `kpsewhich --expand-path='$$TEXMFMAIN'` +#TEXMF = /usr/local/teTeX/share/texmf + +# standard directories +SRCDIR = $(TEXMF)/source/$(FORMAT)/$(PACKAGE) +TEXDIR = $(TEXMF)/tex/$(FORMAT)/$(PACKAGE) +DOCDIR = $(TEXMF)/doc/$(FORMAT)/$(PACKAGE) + +# How to install the files: +INSTALL = cp -p +#INSTALL = install -c + +# How to cleanup the files: +CLEAN = rm -f + +# How to update the directory database: +TEXHASH = mktexlsr +#TEXHASH = texhash + +# How to run LaTeX(2e) for docstrip'ing sources: +DOCSTRIP = yes | latex + +# How to run LaTeX(2e) for documentation: +LATEX = latex + + +### unpack targets: + +default: all +all: make-tex make-doc + +make-tex: $(TEXFILES) +make-doc: $(DOCFILES) +.PHONY: make-tex make-doc + +$(TEXFILES): $(SRCFILES) + $(DOCSTRIP) $(PACKAGE).ins + +$(DOCFILES): $(SRCFILES) $(TEXFILES) + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx + + +### install targets: + +install: install-tex install-doc post-install +.PHONY: install + +install-tex: $(TEXFILES) + test -d $(TEXDIR) || mkdir $(TEXDIR) + (for f in $(TEXFILES); \ + do $(INSTALL) $$f $(TEXDIR); done) +.PHONY: install-tex + +install-doc: $(DOCFILES) + test -d $(DOCDIR) || mkdir $(DOCDIR) + (for f in $(DOCFILES); \ + do $(INSTALL) $$f $(DOCDIR); done) +.PHONY: install-doc + +# uninstall target: + +uninstall: + (for f in $(TEXFILES); \ + do $(CLEAN) $(TEXDIR)/$$f; done) + (for f in $(DOCFILES); \ + do $(CLEAN) $(DOCDIR)/$$f; done) +.PHONY: uninstall + + +# Update the directory database: +post-install: + $(TEXHASH) +.PHONY: post-install + + +### clean targets: +clean: + rm -f *.log *.aux *.toc *.lof *.lot *.bbl *.blg + rm -f *.idx *.ind *.ilg *.glo *.gls + +distclean: clean + rm -f $(TEXFILES) $(DOCFILES) |