Skip to content

Commit

Permalink
Added nomentbl option
Browse files Browse the repository at this point in the history
  • Loading branch information
borisveytsman committed Dec 29, 2018
1 parent b15851b commit 36ba96f
Show file tree
Hide file tree
Showing 3 changed files with 326 additions and 164 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

PACKAGE=nomencl

SAMPLES = sample01.tex sample02.tex sample03.tex sample04.tex sample05.tex
SAMPLES = sample01.tex sample02.tex sample03.tex sample04.tex sample05.tex

CFG = sample03.cfg sample04.cfg sample05.cfg
CFG = sample04.cfg sample05.cfg sample06.cfg


SAMPLEPDF = ${SAMPLES:%.tex=%.pdf}

PDF = $(PACKAGE).pdf ${SAMPLEPDF}

all: ${PDF} ${SAMPLES} ${CFG}
all: ${PDF} ${SAMPLES} ${CFG} ${PACKAGE}.sty


%.sty: %.ins %.dtx
Expand All @@ -34,7 +34,7 @@ sample%.cfg: nomencl.ins nomencl.dtx
do pdflatex $<; done


sample%.pdf: sample%.tex ${CFG}
sample%.pdf: sample%.tex ${CFG} ${PACKAGE}.sty
pdflatex sample$*.tex
makeindex sample$*.nlo -s nomencl.ist -o sample$*.nls
pdflatex sample$*.tex
Expand All @@ -48,10 +48,10 @@ clean:
*.ilg *.ind *.out *.lof \
*.lot *.bbl *.blg *.gls *.cut *.hd \
*.dvi *.ps *.thm *.tgz *.zip *.rpi *.drv *.ist \
*.nlo *.nls
*.nlo *.nls ${SAMPLES} ${CFG}

distclean: clean
$(RM) $(PDF) ${SAMPLES} ${CFG}
$(RM) $(PDF)

#
# Archive for the distribution. Includes typeset documentation
Expand All @@ -62,3 +62,4 @@ archive: all clean
zip: all clean
zip -r $(PACKAGE).zip * -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*'

.PRECIOUS: ${SAMPLES} ${CFG}
Loading

0 comments on commit 36ba96f

Please sign in to comment.