Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OrchestralLily
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Edition Kainhofer
OrchestralLily
Commits
dcbc367c
Commit
dcbc367c
authored
17 years ago
by
Reinhold Kainhofer
Browse files
Options
Downloads
Patches
Plain Diff
Use a Makefile to build the docs
parent
b6ff7353
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Documentation/Makefile
+49
-0
49 additions, 0 deletions
Documentation/Makefile
Documentation/build.sh
+0
-26
0 additions, 26 deletions
Documentation/build.sh
Documentation/clean.sh
+0
-2
0 additions, 2 deletions
Documentation/clean.sh
with
49 additions
and
28 deletions
Documentation/Makefile
0 → 100644
+
49
−
0
View file @
dcbc367c
TEXI_BINARY
=
~/lilypond/texi2html/texi2html
DOC_DIR
=
orchestrallily
TEXI_DIR
=
texi
TELY_FILE
=
orchestrallily.tely
TEXI_FILE
=
$(
TEXI_DIR
)
/orchestrallily.texi
INIT_FILE
=
orchestrallily.init
CSS_FILE
=
orchestrallily.css
HTML_FILE
=
$(
DOC_DIR
)
/index.html
HTML_BIG_FILE
=
$(
DOC_DIR
)
/orchestrallily-bigpage.html
PDF_FILE
=
$(
DOC_DIR
)
/orchestrallily.pdf
all
:
$(TELY_FILE) pathes $(TEXI_FILE) $(HTML_FILE) $(HTML_BIG_FILE) $(DOC_DIR)/makeinfo.html $(PDF_FILE) links
pathes
:
mkdir
-p
orchestrallily/ texi/
ln
-fs
../images/score_structure.pdf texi/
$(TEXI_FILE)
:
$(TELY_FILE)
echo
"Running lilypond-book:"
lilypond-book
--pdf
--output
=
$(
dir
$@
)
--include
=
examples
$<
$(HTML_FILE)
:
$(TEXI_FILE)
echo
"Running texi2html to enerate
$@
from
$<
:"
$(
TEXI_BINARY
)
-I
examples
-I
images
--css-ref
=
$(
CSS_FILE
)
--split
=
chapter
--init
=
lilypond-texi2html.init
--init
=
$(
INIT_FILE
)
--output
=
$(
dir
$@
)
$<
$(HTML_BIG_FILE)
:
$(TEXI_FILE)
echo
"Running texi2html to enerate
$@
from
$<
:"
$(
TEXI_BINARY
)
-I
examples
-I
images
--css-ref
=
$(
CSS_FILE
)
--init
=
lilypond-texi2html.init
--init
=
$(
INIT_FILE
)
--output
=
$@
$<
$(DOC_DIR)/makeinfo.html
:
$(TEXI_FILE)
echo
"Running makeinfo (for comparison with texi2html):"
makeinfo
--html
--no-split
--output
=
$@
-I
examples
-I
images
$<
$(PDF_FILE)
:
$(TEXI_FILE)
echo
"Running texi2pdf to generate
$@
from
$<
:"
cd
$(
TEXI_DIR
)
&&
\
texi2pdf
--quiet
--pdf
--output
=
../
$@
-I
../examples
-I
../images orchestrallily.texi
cd
..
links
:
echo
"Creating soft links for html links image and lilypond files:"
cd
orchestrallily
&&
\
ln
-fs
../texi/
*
.ly ../orchestrallily.css ../images/score_structure.png ../texi/[a-f0-9][a-f0-9]/ .
cd
..
clean
:
rm
-rf
$(
DOC_DIR
)
$(
TEXI_DIR
)
This diff is collapsed.
Click to expand it.
Documentation/build.sh
deleted
100755 → 0
+
0
−
26
View file @
b6ff7353
mkdir
-p
orchestrallily/ texi/
# ln -fs lilypond.css orchestrallily/lilypond.css
# ln -fs ../images/score_structure.pdf ../examples/dada-defs.ly ../examples/dadafull-defs.ly ../images/score_structure.png texi/
ln
-fs
../images/score_structure.pdf texi/
echo
"Running lilypond-book:"
lilypond-book
--pdf
--output
=
texi
--include
=
examples orchestrallily.tely
echo
"Running texi2html:"
~/lilypond/texi2html/texi2html
-I
examples
-I
images
--css-ref
=
orchestrallily.css
--split
=
chapter
--init
=
lilypond-texi2html.init
--init
=
orchestrallily.init
--output
=
orchestrallily texi/orchestrallily.texi
~/lilypond/texi2html/texi2html
-I
examples
-I
images
--css-ref
=
orchestrallily.css
--init
=
lilypond-texi2html.init
--init
=
orchestrallily.init
--output
=
orchestrallily/orchestrallily-bigpage.html texi/orchestrallily.texi
echo
"Running makeinfo (for comparison with texi2html):"
makeinfo
--html
--no-split
--output
=
orchestrallily/makeinfo.html
-I
examples
-I
images texi/orchestrallily.texi
echo
"Running texi2pdf:"
cd
texi
texi2pdf
--quiet
--pdf
--output
=
../orchestrallily/orchestrallily.pdf
-I
../examples
-I
../images orchestrallily.texi
cd
..
echo
"Creating soft links for html links image and lilypond files:"
cd
orchestrallily
ln
-fs
../texi/
*
.ly ../orchestrallily.css ../images/score_structure.png ../texi/[a-f0-9][a-f0-9]/
.
cd
..
This diff is collapsed.
Click to expand it.
Documentation/clean.sh
deleted
100755 → 0
+
0
−
2
View file @
b6ff7353
rm
-rf
orchestrallily/ texi/
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