Blame view

DOCUMENTATION/USER_GUIDE/Makefile 1.12 KB
886c558b   Steve Greedy   SACAMOS Public Re...
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
#
# makefile for creating PDF from LaTeX source
#

# This Makefile needs attention as a pdf file can be produced locally and not moved to the level above. 

default : SACAMOS_UserGuide.pdf

LATEX_FILES= \
Tex/bibliography.tex \
Tex/creating_a_cable_bundle_model.tex \
Tex/creating_a_cable_model.tex \
Tex/creating_a_spice_cable_bundle_model.tex \
Tex/file_formats.tex \
Tex/introduction.tex \
Tex/preamble.tex \
Tex/running_test_cases.tex \
Tex/running_without_GUI.tex \
Tex/structure_of_MOD.tex \
Tex/using_models_in_spice.tex

%.pdf: %.tex $(LATEX_FILES)
	TEXINPUTS=".:${TOP_LEVEL_DIRECTORY}/COMMON_LATEX_FILES:" pdflatex -interaction=nonstopmode $*
	TEXINPUTS=".:${TOP_LEVEL_DIRECTORY}/COMMON_LATEX_FILES:" pdflatex -interaction=nonstopmode $*
	TEXINPUTS=".:${TOP_LEVEL_DIRECTORY}/COMMON_LATEX_FILES:" pdflatex -interaction=nonstopmode $*

help:
	@echo "make           : make SACAMOS_UserGuide.pdf"
	@echo "make clean     : clean LaTeX files"
	@echo "make clean_all : clean LaTeX files and image files"

clean:
	rm -f *.aux *.lof *.log  *.out  *.toc *.pdf

clean_all:
	rm -f *.aux *.lof *.log  *.out  *.toc *.pdf Imgs/*eps-converted-to.pdf