Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
presentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Laros
presentation
Commits
ccb6d111
Commit
ccb6d111
authored
11 years ago
by
Laros
Browse files
Options
Downloads
Patches
Plain Diff
Added more picture support.
parent
fbff0b71
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+24
-3
24 additions, 3 deletions
Makefile
with
24 additions
and
3 deletions
Makefile
+
24
−
3
View file @
ccb6d111
...
...
@@ -23,8 +23,11 @@ FONTSIZE := 20
# Find the input files.
SRC
:=
$(
basename
$(
shell
grep
-l
'\\begin{document
}
'
*
.tex
)
)
PIC
:=
$(
basename
$(
shell
ls
*
.dia
))
DIA_
PIC
:=
$(
basename
$(
shell
ls
*
.dia
))
GNP
:=
$(
basename
$(
shell
ls
*
.gnp
))
PIC_EXT
:=
.dot .gif .jpg .png .ppm .svg .xcf
PIC
:=
$(
foreach I,
$(
PIC_EXT
)
,
$(
basename
$(
shell
ls
*
$I
)))
#PIC_EPS := $(addsuffix .eps, $(PIC))
# Output.
PDF
:=
$(
addsuffix .pdf,
$(
SRC
))
...
...
@@ -33,13 +36,13 @@ DOC := $(addsuffix .docx, $(SRC))
# Temporary files.
TMP
:=
blg log nav out snm toc dvi aux idx vrb ps glg glo ist
PNG
:=
$(
addsuffix .png,
$(
PIC
))
PNG
:=
$(
addsuffix .png,
$(
DIA_
PIC
))
TNP
:=
$(
addsuffix .tnp,
$(
GNP
))
# Semi-permanent files.
BIB
:=
$(
addsuffix .bbl,
$(
SRC
))
GLS
:=
$(
addsuffix .gls,
$(
GLS
))
EPS
:=
$(
addsuffix .eps,
$(
PIC
)
$(
GNP
))
EPS
:=
$(
addsuffix .eps,
$(
DIA_
PIC
)
$(
GNP
)
$(
PIC
)
)
# Do not delete the semi-permanent files automatically.
.PRECIOUS
:
$(BIB) $(GLS) $(EPS)
...
...
@@ -76,6 +79,24 @@ release: all clean
%.eps
:
%.png
$(
CONVERT
)
$<
$@
%.eps
:
%.dot
$(
CONVERT
)
$<
$@
%.eps
:
%.gif
$(
CONVERT
)
$<
$@
%.eps
:
%.jpg
$(
CONVERT
)
$<
$@
%.eps
:
%.ppm
$(
CONVERT
)
$<
$@
%.eps
:
%.svg
$(
CONVERT
)
$<
$@
%.eps
:
%.xcf
$(
CONVERT
)
$<
$@
%.tnp
:
%.gnp $(DEP)
echo
"set terminal postscript color eps font
\"
default,
$(
FONTSIZE
)
\"
"
>
$@
;
\
cat
$<
>>
$@
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment