~mdw
/
mdwtools
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/mdwtools
[mdwtools]
/
Makefile.m4
diff --git
a/Makefile.m4
b/Makefile.m4
index
380b5a0
..
f52c85c
100644
(file)
--- a/
Makefile.m4
+++ b/
Makefile.m4
@@
-1,6
+1,6
@@
## -*-makefile-*-
##
## -*-makefile-*-
##
-## $Id: Makefile.m4,v 1.
1 2002/02/03 20:49:02
mdw Exp $
+## $Id: Makefile.m4,v 1.
4 2003/09/05 16:16:31
mdw Exp $
##
## Build system for mdwtools
##
##
## Build system for mdwtools
##
@@
-25,67
+25,70
@@
## along with mdwtools; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## along with mdwtools; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.m4,v $
-## Revision 1.1 2002/02/03 20:49:02 mdw
-## Checkin for new build system.
-##
-
AUTOMAKE_OPTIONS = foreign
texmfdir = @texmfdir@
pkglatexdir = ${texmfdir}/tex/latex/${PACKAGE}
pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE}
AUTOMAKE_OPTIONS = foreign
texmfdir = @texmfdir@
pkglatexdir = ${texmfdir}/tex/latex/${PACKAGE}
pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE}
-define(`addsuffix', `patsubst(`$1', `\>', `
.
$2')')
+define(`addsuffix', `patsubst(`$1', `\>', `$2')')
define(`BASE', `\
define(`BASE', `\
- at c
mtt crypto doafter exercise footnote
\
- mdwlist mdwmath mdw
tab mdwthm poetry
sverb syntax')
+ at c
entre cmtt colour crypto doafter exercise footnote mdwkey
\
+ mdwlist mdwmath mdw
ref mdwtab mdwthm poetry slowbox
sverb syntax')
-SRC = addsuffix(BASE, `dtx')
-DVI = addsuffix(BASE, `dvi') mdwtools.dvi
+AUX = mdwtools.tex gpl.tex
+SRC = addsuffix(BASE, `.dtx')
+DVI = addsuffix(BASE, `.dvi') mdwtools.dvi
+PS = addsuffix(BASE, `.ps') mdwtools.ps
OBJ = \
at.sty \
OBJ = \
at.sty \
- cmtt.sty mTTcmtt.fd mTTenc.def \
+ cmtt.sty mttcmtt.fd mttenc.def \
+ colour.sty \
crypto.sty \
doafter.sty \
doafter.tex \
exercise.sty \
footnote.sty \
crypto.sty \
doafter.sty \
doafter.tex \
exercise.sty \
footnote.sty \
+ mdwkey.sty \
mdwlist.sty \
mdwmath.sty \
mdwlist.sty \
mdwmath.sty \
- mdwtab.sty mathenv.sty \
+ mdwref.sty \
+ mdwtab.sty mathenv.sty mtcolour.sty mtcolor.sty \
mdwthm.sty mdwmargin.thm \
poetry.sty \
mdwthm.sty mdwmargin.thm \
poetry.sty \
- sverb.sty \
+ slowbox.sty \
+ sverb.sty svcolor.sty svcolour.sty svsplit.sty \
syntax.sty
syntax.sty
-pkglatex_DATA = $(OBJ)
-pkgdoc_DATA = $(DVI)
+pkglatex_DATA = $(OBJ)
mdwtools.tex
+pkgdoc_DATA = $(DVI)
$(PS)
-SUFFIXES = .dtx .tex .dvi
+SUFFIXES = .dtx .tex .dvi
.ps
define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<"
latex "\def\indexing{y} \nonstopmode \input $<"
makeindex -s gind.ist $`'*.idx
latex "\def\indexing{n} \nonstopmode \input $<"')
define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<"
latex "\def\indexing{y} \nonstopmode \input $<"
makeindex -s gind.ist $`'*.idx
latex "\def\indexing{n} \nonstopmode \input $<"')
-.dtx.dvi:
gpl.tex mdwtools.tex
+.dtx.dvi:
run_latex
run_latex
-.tex.dvi:
gpl.tex
+.tex.dvi:
run_latex
run_latex
+.dvi.ps:
+ dvips -e0 -o $@ $<
-all: $(OBJ)
-dvi: $(DVI)
+$(DVI): gpl.tex $(OBJ) mdwtools.tex
$(OBJ): $(SRC) mdwtools.ins
tex mdwtools.ins
$(OBJ): $(SRC) mdwtools.ins
tex mdwtools.ins
+EXTRA_DIST = $(SRC) $(AUX) $(DVI) $(OBJ) $(PS) mdwtools.ins Makefile.m4
+
MAINTAINERCLEANFILES = $(OBJ) $(DVI)
CLEANFILES = *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans
Makefile.am: Makefile.m4
MAINTAINERCLEANFILES = $(OBJ) $(DVI)
CLEANFILES = *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans
Makefile.am: Makefile.m4
- cd $(srcdir) && m4 Makefile.m4 >Makefile.am
+ m4 $(srcdir)/Makefile.m4 >Makefile.am.new
+ mv Makefile.am.new $(srcdir)/Makefile.am
.PHONY: dvi
.PHONY: dvi