summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:52:20 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:52:20 +0000
commit9fb262f69d81f32f9c41e8c355b98f12605cbb55 (patch)
tree4cae3350914d8f2a903ee9c4e5b78a0f95d1aa57
parent9bc40ac01e36d13cce75725c47af026c1f023bc1 (diff)
trunk/Master/texmf-dist/source/latex/dk-bib
git-svn-id: svn://tug.org/texlive/trunk@224 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/latex/dk-bib/Makefile70
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/dk-bib/Makefile b/Master/texmf-dist/source/latex/dk-bib/Makefile
new file mode 100644
index 00000000000..f21d8fb9a57
--- /dev/null
+++ b/Master/texmf-dist/source/latex/dk-bib/Makefile
@@ -0,0 +1,70 @@
+### Makefile --- for building dk-bib
+
+# Copyright (C) 2004, 2005 Arne Jorgensen
+
+# Version: $Id: Makefile 82 2005-10-02 16:26:11Z arne $
+
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at
+# your option) any later version.
+
+# This file 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. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this file; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+.PHONY: all doc install-texmfhome install-texmflocal install texlive clean
+
+all: dk-bib.pdf
+
+doc: dk-bib.ltx litteratur.bib dk-plain.bst dk-bib.sty
+ test ${LATEX} # checking wheter LATEX is set
+ ${LATEX} dk-bib.ltx
+ bibtex dk-bib
+ ${LATEX} dk-bib.ltx
+ ${LATEX} dk-bib.ltx
+
+dk-bib.pdf: dk-bib.ltx litteratur.bib dk-plain.bst dk-bib.sty
+ LATEX=pdflatex make doc
+
+dk-bib.dvi: dk-bib.ltx litteratur.bib dk-plain.bst dk-bib.sty
+ LATEX=latex make doc
+
+dk-bib.zip: README COPYRIGHT Makefile dk-bib.ltx dk-bib.pdf\
+ dk-bib.sty litteratur.bib *.bst *.csf
+ zip -z $@ $^ < README
+
+install: dk-bib.pdf
+ test ${INSTALLDIR} # checking whether INSTALLDIR is set
+ install -m 0755 -d ${INSTALLDIR}/tex/latex/dk-bib/
+ install -m 0755 -d ${INSTALLDIR}/doc/latex/dk-bib/
+ install -m 0755 -d ${INSTALLDIR}/bibtex/bst/dk-bib/
+ install -m 0755 -d ${INSTALLDIR}/bibtex/csf/dk-bib/
+ install -m 0644 dk-bib.sty ${INSTALLDIR}/tex/latex/dk-bib/
+ install -m 0644 dk-bib.pdf ${INSTALLDIR}/doc/latex/dk-bib/
+ install -m 0644 *.bst ${INSTALLDIR}/bibtex/bst/dk-bib/
+ install -m 0644 *.csf ${INSTALLDIR}/bibtex/csf/dk-bib/
+ (test -f ${INSTALLDIR}/ls-R && mktexlsr ${INSTALLDIR}) || true
+
+texlive:
+ INSTALLDIR=texlive/texmf-dist make install
+
+install-texmfhome:
+ test `kpsexpand '$$TEXMFHOME'` # checking whether TEXMFHOME is defined
+ INSTALLDIR=`kpsexpand '$$TEXMFHOME'` make install
+
+install-texmflocal:
+ test `kpsexpand '$$TEXMFLOCAL'` # checking whether TEXMFLOCAL is defined
+ INSTALLDIR=`kpsexpand '$$TEXMFLOCAL'` make install
+
+clean:
+ ${RM} dk-bib.aux dk-bib.log dk-bib.blg dk-bib.bbl dk-bib.out dk-bib.dvi\
+ dk-bib.pdf dk-bib.zip
+ ${RM} *~
+
+### Makefile ends here