summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-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