summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/Makefile.unx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:51:04 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:51:04 +0000
commitbf7e5eda82d5177d838d28170dce0f539f5e1687 (patch)
tree2cd920ffe6994cdaab8d37b5b0a59df9a5111822 /Master/texmf-dist/source/latex/base/Makefile.unx
parent83bcc02ee855f0bf515d44433547956d38805bf0 (diff)
trunk/Master/texmf-dist/source/latex/base
git-svn-id: svn://tug.org/texlive/trunk@151 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/Makefile.unx')
-rw-r--r--Master/texmf-dist/source/latex/base/Makefile.unx56
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/base/Makefile.unx b/Master/texmf-dist/source/latex/base/Makefile.unx
new file mode 100644
index 00000000000..414293e93b0
--- /dev/null
+++ b/Master/texmf-dist/source/latex/base/Makefile.unx
@@ -0,0 +1,56 @@
+
+########################################################################
+# Start of customization section
+########################################################################
+
+# The directory where all runtime files reside
+DESTDIR=
+
+# The directory where the format files reside
+FORMATDIR=
+
+######### Edit the following only if you want to move *.fd or *.ist
+######### to a different place.
+
+# The directory where the .fd files reside:
+FDDIR=$(DESTDIR)
+
+# The directory where class and package files reside:
+INPUTDIR=$(DESTDIR)
+
+# The directory where the makeindex style files reside
+ISTDIR=$(DESTDIR)
+
+########################################################################
+# End of customization section
+########################################################################
+
+FORMAT=latex
+
+
+default:
+ @if test ! "${DESTDIR}" -o ! "$(FORMATDIR)" ; then \
+ echo "Destination directories not set." ; \
+ echo "Please edit the Makefile first!" ; \
+ exit 1 ; \
+ else \
+ make format ; \
+ fi
+
+
+format: $(FORMAT).fmt
+
+$(FORMAT).fmt: $(FORMAT).ltx
+ initex $(FORMAT).ltx
+
+
+install: $(FORMAT).fmt
+ cp -i $(FORMAT).fmt $(FORMATDIR)
+ cp -i *.fd $(FDDIR)
+ cp -i *.cls *.clo *.sty *.def *.tex $(INPUTDIR)
+ cp -i *.ist $(ISTDIR)
+
+clean:
+ rm $(FORMAT).fmt
+ rm *.dvi *.log *.aux *.glo *.idx *.ind *.gls *.lof *.lot *.toc
+