Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
BOXMOX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
MBEES
BOXMOX
Commits
7f189484
Commit
7f189484
authored
3 years ago
by
Christoph Knote
Browse files
Options
Downloads
Patches
Plain Diff
Build doc during dist creation, not after
parent
5d0ee0c4
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+7
-0
7 additions, 0 deletions
.gitignore
Makefile.am_BLUEPRINT
+2
-2
2 additions, 2 deletions
Makefile.am_BLUEPRINT
build_dist.sh
+50
-0
50 additions, 0 deletions
build_dist.sh
configure.ac
+0
-6
0 additions, 6 deletions
configure.ac
doc/Makefile.am
+0
-13
0 additions, 13 deletions
doc/Makefile.am
with
59 additions
and
21 deletions
.gitignore
+
7
−
0
View file @
7f189484
...
...
@@ -4,6 +4,13 @@ build
src/kpp
boxmox*.tar.gz
doc/boxmox*toc
doc/boxmox*aux
doc/boxmox*log
doc/boxmox*pdf
**~
# bc we create this automatically using build_dist.sh
Makefile.am
...
...
This diff is collapsed.
Click to expand it.
Makefile.am_BLUEPRINT
+
2
−
2
View file @
7f189484
...
...
@@ -29,10 +29,10 @@
#
#######################################################################################
SUBDIRS
=
src
doc
SUBDIRS
=
src
EXTRA_DIST
=
src/bison.h src/code.h src/gdata.h src/gdef.h src/scan.h
dist_doc_DATA
=
README.md doc/kpp_UserManual.pdf
dist_doc_DATA
=
README.md doc/kpp_UserManual.pdf
doc/boxmox_UserManual.pdf
dist_bin_SCRIPTS
=
scripts/list_BOXMOX_mechanisms
\
scripts/new_BOXMOX_experiment
\
scripts/new_BOXMOX_experiment_from_example
\
...
...
This diff is collapsed.
Click to expand it.
build_dist.sh
+
50
−
0
View file @
7f189484
#!/bin/sh
buildDir
=
$1
echo
echo
" --- prep Makefile.am ---"
echo
# fancy shit: no wildcards in automake, add all files to be distributed with BOXMOX/KPP explicitly
cp
Makefile.am_BLUEPRINT Makefile.am
...
...
@@ -10,12 +14,58 @@ distFiles=$(find drv examples case_studies int models util -type f)
#pretty print them 45 char wide dd tab, backslash at end remove backslash last line remove tab first line
printf
'nobase_dist_pkgdata_DATA = %s\n'
"
${
distFiles
[*]
}
"
|
fmt
-w
45 |
sed
-e
's/\(.*\)$/\t\1 \\/g'
|
sed
'$ s/\\//g'
|
sed
'1 s/\t//g'
>>
Makefile.am
echo
echo
" --- build documentation ---"
echo
cd
doc
pdflatex boxmox_UserManual
pdflatex boxmox_UserManual
cd
..
# now standard:
echo
echo
" --- aclocal ---"
echo
aclocal
echo
echo
" --- autoconf ---"
echo
autoconf
echo
echo
" --- automake ---"
echo
automake
-a
-c
echo
echo
" --- makec maintainer-clean ---"
echo
make maintainer-clean
echo
echo
" --- configure ---"
echo
./configure
--prefix
=
"
${
buildDir
}
"
echo
echo
" --- make ---"
echo
make
echo
echo
" --- make install ---"
echo
make
install
echo
echo
" --- make dist ---"
echo
make dist
echo
echo
" --- make distcheck ---"
echo
make distcheck
This diff is collapsed.
Click to expand it.
configure.ac
+
0
−
6
View file @
7f189484
...
...
@@ -8,14 +8,8 @@ AM_INIT_AUTOMAKE([-Wall foreign tar-pax])
AC_PROG_CC
AC_PROG_LEX(noyywrap)
AC_PROG_YACC
AC_CHECK_PROG(PDFLATEX, pdflatex, pdflatex)
if test -z "$PDFLATEX"; then
AC_MSG_WARN([Unable to create PDF version of the user manual.])
fi
AM_CONDITIONAL([HAVE_PDFLATEX], test -n "$PDFLATEX")
AC_CONFIG_FILES([
Makefile
src/Makefile
doc/Makefile
])
AC_OUTPUT
This diff is collapsed.
Click to expand it.
doc/Makefile.am
deleted
100644 → 0
+
0
−
13
View file @
5d0ee0c4
docfiles
=
if
HAVE_PDFLATEX
docfiles
+=
boxmox_UserManual.tex boxmox_UserManual.pdf
boxmox_UserManual.pdf
:
boxmox_UserManual.tex
@
PDFLATEX@
$<
@
PDFLATEX@
$<
clean-local
:
rm
-f
*
.log
*
.out
*
.toc
*
.aux boxmox_UserManual.pdf
endif
doc_DATA
=
$(
docfiles
)
\ No newline at end of file
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