Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
20174ac1
authored
Jun 23, 2015
by
Christian Kern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create tarball script must be adjusted....
parent
40624201
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
scripts/create_tarball.sh
+8
-3
No files found.
scripts/create_tarball.sh
View file @
20174ac1
...
...
@@ -283,9 +283,9 @@ REFMAN_SOURCE="$MYTMPDIR_DOXY_BUILD/latex/refman.pdf"
echo
"--> Integrating Example Snippets"
REMEMBER_CUR_DIR
=
$(
pwd
)
EXAMPLES_DIR
=
"
$MYTMPDIR_BUILD
/doc/examples"
EXAMPLES_DIR
=
"
$MYTMPDIR_BUILD
/doc/examples
_raw
"
INTEGRATE_SNIPPETS_SCRIPT
=
"insert_snippets.py"
EXAMPLES_TARGET_DIR
=
"
$MYTMPDIR
/
${
n
}
/doc/"
EXAMPLES_TARGET_DIR
=
"
$MYTMPDIR
/
${
n
}
/doc/
examples
"
if
[
-f
$EXAMPLES_DIR
/
$INTEGRATE_SNIPPETS_SCRIPT
]
;
then
cd
"
$EXAMPLES_DIR
"
...
...
@@ -294,10 +294,15 @@ if [ -f $EXAMPLES_DIR/$INTEGRATE_SNIPPETS_SCRIPT ]; then
echo
"---> Calling integrate script"
redirect_cmd python insert_snippets.py
if
[
!
-d
$EXAMPLES_TARGET_DIR
]
;
then
echo
"---> Examples target dir does not exist. Creating..."
redirect_cmd mkdir
$EXAMPLES_TARGET_DIR
fi
if
[
-d
$EXAMPLES_TARGET_DIR
]
;
then
echo
"---> Copy integrated examples back"
#The examples have been integrated. Copy the integrated source files.
redirect_cmd rsync
--archive
--recursive
$EXAMPLES_DIR
$EXAMPLES_TARGET_DIR
\
redirect_cmd rsync
--archive
--recursive
"
$EXAMPLES_DIR
/"
"
$EXAMPLES_TARGET_DIR
/"
\
--exclude
=
*
snippet.h
\
--exclude
=
*
fragmented.h
\
--exclude
=
*
snippet.cc
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment