summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/qsymbols/Makefile
blob: ef436869bc1e437521c5e75e78da56f4b1baeff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# $Id: Makefile,v 1.8 1996/12/05 04:50:53 krisrose Exp krisrose $
#
# `Quoted math symbol/arrow abbreviations' package for LaTeX 2e: Makefile.
# Copyright (c) 1994   Kristoffer H. Rose   <kris@diku.dk>
#
# This package 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 package 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 package; if not, write to the Free Software Foundation, Inc.,
# 675 Mass Ave, Cambridge, MA 02139, USA.


# DIRECTORIES.
#
#USR = /usr/local
USR = $$SYS
#
TEXDIR = $(USR)/lib/tex/inputs


# PROGRAMS.
#
INSTALL = install -c -m444
RM = rm -f
GZIP = gzip -v9
GZ = .gz
#
LATEX = latex
DVIPS = dvips


# GENERIC TARGETS.
#
.DEFAULT:	all
.PHONY:		all install clean realclean
#
ALL = COPYING README CATALOG qsymbols.sty qsymbols.tex qsymbols.ps
#
all:		$(ALL)
#
install:	qsymbols.sty
	$(INSTALL) qsymbols.sty $(TEXDIR)
	@echo
	@echo Please ensure that the file COPYING is available on your system.
	@echo
#
clean:
	$(RM) *.aux *.toc *.lof *.blg *.log *.idx *.ilg *.bbl *.dvi \
	  ./#* *~ core *.BAK *JNL
#
realclean:	clean
	$(RM) CATALOG *.ps

# GENERATION TARGETS.
#
qsymbols.ps:	qsymbols.tex qsymbols.sty
	$(LATEX) qsymbols && $(LATEX) qsymbols && $(LATEX) qsymbols
	$(DVIPS) qsymbols -o
#
CATALOG:	CATALOG.doc
	$(LATEX) CATALOG.doc
	mv -f CATALOG.out CATALOG


# DISTRIBUTION.
#
.PHONY:		dist ftp
#
PUB = $$HOME/pub
DISTDIR = $(PUB)
FTPDIR = /home/ftp/Staff/krisrose/TeX
#
dist:		$(ALL)
	mkdir -p $(DISTDIR)/qsymbols
	$(INSTALL) $(ALL) $(DISTDIR)/qsymbols
	cd $(DISTDIR)/qsymbols;\
	  find . -type f -print | sed 's,^./,,' | sort > MANIFEST

ftp:		all dist
	cd $(DISTDIR);\
	  tar cvf - qsymbols | $(GZIP) > $(FTPDIR)/qsymbols.tar$(GZ)

# RCS dependencies.
#
Makefile:; test -d RCS -a -f RCS/Makefile,v && co Makefile || :
CATALOG.doc:; test -d RCS -a -f RCS/CATALOG.doc,v && co CATALOG.doc || :
COPYING:; test -d RCS -a -f RCS/COPYING,v && co COPYING || :
README:; test -d RCS -a -f RCS/README,v && co README || :
qsymbols.sty:; test -d RCS -a -f RCS/qsymbols.sty,v && co qsymbols.sty || :
qsymbols.tex:; test -d RCS -a -f RCS/qsymbols.tex,v && co qsymbols.tex || :

# $Log: Makefile,v $
# Revision 1.8  1996/12/05 04:50:53  krisrose
# Fits qsymbols.sty 1.9
#
# Revision 1.7  1994/12/12 01:29:28  kris
# Updates for Xy-pic v3 in progress...
#
# Revision 1.1  1994/10/28  22:27:37  kris
# Initial revision
#
# Based on Xy-pic Makefile.