| 1 |
#****************************************************************************** |
| 2 |
#* This file is part of limap. |
| 3 |
#* |
| 4 |
#* Copyright (C) 1999-2026 Gerd Neugebauer |
| 5 |
#* |
| 6 |
#* limap may be distributed under the terms of the LaTeX Project |
| 7 |
#* Public License version 1.3c, as described in lppl.txt. |
| 8 |
#* |
| 9 |
#*============================================================================= |
| 10 |
|
| 11 |
LATEX = latex |
| 12 |
LUALATEX = lualatex |
| 13 |
MAKEINDEX = makeindex |
| 14 |
|
| 15 |
DISTFILES = README.md \ |
| 16 |
limap.dtx \ |
| 17 |
limap.ins \ |
| 18 |
Makefile \ |
| 19 |
LICENSE \ |
| 20 |
samples/boxed-toc.ltx \ |
| 21 |
samples/hyper.ltx \ |
| 22 |
samples/nolines.ltx \ |
| 23 |
samples/sample.ltx \ |
| 24 |
limap.pdf \ |
| 25 |
samples/boxed-toc.pdf \ |
| 26 |
samples/hyper.pdf \ |
| 27 |
samples/nolines.pdf \ |
| 28 |
samples/sample.pdf |
| 29 |
|
| 30 |
SAMPLES = boxed-toc \ |
| 31 |
hyper \ |
| 32 |
nolines \ |
| 33 |
sample |
| 34 |
|
| 35 |
all: limap.cls limap.pdf |
| 36 |
|
| 37 |
cls sty limap.cls limap.sty: limap.dtx limap.ins |
| 38 |
${RM} limap.cls limap.sty |
| 39 |
${LATEX} limap.ins |
| 40 |
|
| 41 |
doc pdf limap.pdf: limap.sty limap.dtx |
| 42 |
${LUALATEX} limap.dtx |
| 43 |
${MAKEINDEX} -s gind.ist limap |
| 44 |
${MAKEINDEX} -s gglo.ist -o limap.gls limap.glo |
| 45 |
${LUALATEX} limap.dtx |
| 46 |
|
| 47 |
limap.dvi: limap.sty limap.dtx |
| 48 |
${LATEX} limap.dtx |
| 49 |
${MAKEINDEX} -s gind.ist limap |
| 50 |
${MAKEINDEX} -s gglo.ist -o limap.gls limap.glo |
| 51 |
${LATEX} limap.dtx |
| 52 |
|
| 53 |
#------------------------------------------------------------------------------ |
| 54 |
|
| 55 |
%.pdf: %.ltx limap.cls |
| 56 |
@${LUALATEX} $< |
| 57 |
@${LUALATEX} $< |
| 58 |
@mv $(notdir ${<:.ltx=.pdf}) ${<:.ltx=.pdf} |
| 59 |
@rm -f $(notdir ${<:.ltx=.aux}) $(notdir ${<:.ltx=.log}) $(notdir ${<:.ltx=.out}) |
| 60 |
|
| 61 |
#------------------------------------------------------------------------------ |
| 62 |
|
| 63 |
dist: distclean limap.zip |
| 64 |
|
| 65 |
zip limap.zip: $(DISTFILES) |
| 66 |
(cd ..; zip limap/limap.zip $(addprefix limap/,$(DISTFILES))) |
| 67 |
|
| 68 |
#------------------------------------------------------------------------------ |
| 69 |
|
| 70 |
clean: |
| 71 |
${RM} *.aux *.glo *.gls *.idx *.ilg *.ind *.log *.toc *.out *~ *.dvi *.pdf samples/*.pdf |
| 72 |
|
| 73 |
distclean: clean |
| 74 |
${RM} limap.cls limap.sty limap*.zip |
| 75 |
|
| 76 |
#------------------------------------------------------------------------------ |