Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fithesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
External Relations
Document Templates
fithesis
Commits
ab766ed0
There was an error fetching the commit references. Please try again later.
Commit
ab766ed0
authored
10 years ago
by
witiko
Browse files
Options
Downloads
Patches
Plain Diff
Added the `install` target to the Makefile.
parent
9e007606
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+29
-7
29 additions, 7 deletions
Makefile
with
29 additions
and
7 deletions
Makefile
+
29
−
7
View file @
ab766ed0
.PHONY
:
all clean clean-all
.PHONY
:
all clean clean-all
install
all
:
fithesis3.cls fithesis.pdf example.pdf clean
CLASSFILES
=
fit1[012].clo fithesis.cls fithesis[23].cls
AUXFILES
=
example.aux example.log example.out example.toc example.lot example.lof fithesis.aux fithesis.log fithesis.toc fithesis.ind fithesis.idx fithesis.out fithesis.ilg
PDFFILES
=
fithesis.pdf example.pdf
LOGOFILES
=
loga/eco-logo.pdf loga/fi-logo.pdf loga/fsps-logo.pdf loga/law-logo.pdf loga/med-logo.pdf loga/ped-logo.pdf loga/phil-logo.pdf loga/sci-logo.pdf loga/color/eco-logo.pdf loga/color/fi-logo.pdf loga/color/fsps-logo.pdf loga/color/law-logo.pdf loga/color/med-logo.pdf loga/color/ped-logo.pdf loga/color/phil-logo.pdf loga/color/sci-logo.pdf loga/eco-logo.eps loga/fi-logo.eps loga/fsps-logo.eps loga/law-logo.eps loga/med-logo.eps loga/ped-logo.eps loga/phil-logo.eps loga/sci-logo.eps loga/color/eco-logo.eps loga/color/fi-logo.eps loga/color/fsps-logo.eps loga/color/law-logo.eps loga/color/med-logo.eps loga/color/ped-logo.eps loga/color/phil-logo.eps loga/color/sci-logo.eps
SOURCEFILE
=
fithesis.dtx
INSTALLFILES
=
$(
CLASSFILES
)
$(
LOGOFILES
)
$(
PDFFILES
)
$(
SOURCEFILE
)
# This pseudo-target creates the class files, typesets both
# the example file and the technical documentation and
# removes any auxiliary files.
all
:
fithesis3.cls $(PDFFILES) clean
cd
loga
&&
make all
cd
loga
&&
make all
fithesis.dtx
:
fithesis.raw.dtx
# This target preprocesses the `fithesis.raw.dtx` file into
# the `fithesis.dtx` source file.
$(SOURCEFILE)
:
fithesis.raw.dtx
./fithesis.raw.sh
$<
$@
./fithesis.raw.sh
$<
$@
# This target creates the class files.
fithesis3.cls
:
fithesis.ins fithesis.dtx
fithesis3.cls
:
fithesis.ins fithesis.dtx
yes
| tex
$<
yes
| tex
$<
# This target typesets the technical documentation.
fithesis.pdf
:
fithesis.dtx
fithesis.pdf
:
fithesis.dtx
pdflatex
$<
pdflatex
$<
makeindex fithesis
makeindex fithesis
pdflatex
$<
pdflatex
$<
# This target typesets the example.
example.pdf
:
example.tex fithesis3.cls
example.pdf
:
example.tex fithesis3.cls
pdflatex
$<
pdflatex
$<
pdflatex
$<
pdflatex
$<
# This pseudo-target installs any non-auxiliary files
# into the directory provided as the "to" argument.
install
:
all
if
[
-z
"
$(
to
)
"
]
;
then
echo
"Usage: make to=DIRECTORY install"
;
exit
1
;
fi
mkdir
--parents
"
$(
to
)
"
cp
--parents
--verbose
$(
INSTALLFILES
)
"
$(
to
)
"
# This pseudo-target removes any existing auxiliary files.
clean
:
clean
:
rm
-f
example.aux example.log example.out example.toc example.lot example.lof
rm
-f
$(
AUXFILES
)
rm
-f
fithesis.aux fithesis.log fithesis.toc fithesis.ind fithesis.idx fithesis.out fithesis.ilg
# This pseudo-target removes any non-makeable files.
clean-all
:
clean
clean-all
:
clean
rm
-f
example.pdf
rm
-f
$(
PDFFILES
)
$(
CLASSFILES
)
$(
SOURCEFILE
)
rm
-f
fit1[012].clo fithesis.cls fithesis[23] fithesis.dtx fithesis.pdf
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