diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/imaketex/Imakefile |
Initial commit
Diffstat (limited to 'support/imaketex/Imakefile')
-rw-r--r-- | support/imaketex/Imakefile | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/support/imaketex/Imakefile b/support/imaketex/Imakefile new file mode 100644 index 0000000000..248b51f06f --- /dev/null +++ b/support/imaketex/Imakefile @@ -0,0 +1,77 @@ +/* + * Imakefile for Imake-TeX + * + * Copyright 1993 Rainer Klute, Dortmund University + * <klute@irb.informatik.uni-dortmund.de> + * + * $Id: Imakefile,v 1.0 1993/08/17 15:28:51 klute Exp klute $ + */ + +IMAKETEXVERSION = 1.00 + +#if ProjectX < 5 +#include "X11R5.rules" +InstallNonExecFile(X11R5.rules,$(TEX_CONFIGDIR)) +#endif + + +#include "Imake-TeX.cf" + + +#ifndef SedFileTarget +#define SedFileTarget(dst,src,script,deplist) @@\ +dst:: src deplist @@\ + $(RM) $@ @@\ + sed script <src >$@ +#endif /* SedFileTarget */ + + +AllTarget(texmkmf.script TeX.tmpl) + +CppScriptTarget(texmkmf.script,texmkmf.cpp,-DCONFIGDIRSPEC='"'"-I$(CONFIGDIR) -I$(TEX_CONFIGDIR)"'"',Imake-TeX.cf) +InstallScript(texmkmf,$(TEX_BINDIR)) +clean:: + $(RM) texmkmf.script + +SedFileTarget(TeX.tmpl,TeX.tmpl.sed, \ + -e 's#TEX_INPUTSDIR#$(TEX_INPUTSDIR)#g' \ + -e 's#TEX_CONFIGDIR#$(TEX_CONFIGDIR)#g', \ + Imake-TeX.cf) +InstallNonExecFile(TeX.tmpl,$(TEX_CONFIGDIR)) + +clean:: + $(RM) TeX.tmpl + + + +#ifndef InstallImakeTex + +SedFileTarget(Imake-TeX.tex,Imake-TeX.tex.sed, \ + -e 's/HAS_PSFIG/$(HAS_PSFIG)/' \ + -e 's/DOCUMENTATIONLANGUAGE/$(DOCUMENTATIONLANGUAGE)/' \ + -e 's/IMAKETEXVERSION/$(IMAKETEXVERSION)/', \ + Imake-TeX.cf) + +includes:: Imake-TeX.tex + +clean:: + $(RM) Imake-TeX.tex + +#include "TeX.tmpl" +PaperFormatA4() +SimpleLatexBibtexIndexTarget(Imake-TeX,Paper.bib) + +#endif /* InstallImakeTex */ + + +#ifndef CompressedTarFileTarget +#define CompressedTarFileTarget(step,archive,files) @@\ +step:: archive.tar.z @@\ +archive.tar.z:: files @@\ + $(MKDIRHIER) archive @@\ + tar cf - files | (cd archive; tar xvf -) @@\ + tar cvf - archive | gzip >archive.tar.gz @@\ + $(RM) -r archive +#endif /* CompressedTarFileTarget */ + +CompressedTarFileTarget(tar,Imake-TeX-$(IMAKETEXVERSION),CHANGES Imake-TeX.cf Imake-TeX.tex.sed Imakefile Paper.bib README TeX.tmpl.sed UnidoLogo.eps X11R5.rules german.sty texmkmf.cpp ExamNormal/Imakefile ExamNormal/example1.tex ExamNormal/example2.tex ExamNormal/input1.tex ExamNormal/input2.tex ExamSimple/Imakefile ExamSimple/example.tex) |