Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KIT-CA
Interfaces
Commits
9c4ea773
Commit
9c4ea773
authored
Sep 08, 2017
by
Tobias Dussa
Browse files
Cleaned up Makefile.
parent
dc6cb5ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Formulare/Makefile
View file @
9c4ea773
...
...
@@ -17,18 +17,7 @@ $(FILESTOBEFIXED):
fi
@
git add
"
$@
"
forcefix
:
for
item
in
$(FILESTOBEFIXED)
;
do
\
TAGLINE
=
$$
(
git log
-1
--date
=
short
--pretty
=
format:
"
$
$(
basename
""
$
${item}
""
)
$$
(git log --oneline --abbrev-commit --all | wc -l) %ci %ae"
|
sed
"s/ +/+/"
)
;
\
REVISION
=
$$
(
git log
-1
--date
=
short
--pretty
=
format:
"r
$$
(git log --oneline --abbrev-commit --all | wc -l)
\/
%h~(%ci)"
|
sed
-e
"s/ .*)/)/"
)
;
\
echo
Fixing Id keyword
in
"
$
${item}
"
.
;
\
sed
-e
"s|
\\\\
svnInfo
\(\\
$$
\)
Id.*
$$
|
\\\\
svnInfo
\1
Id:
$
${TAGLINE}
\1
|"
-i
"
$
${item}
"
;
\
echo
Fixing revision
in
"
$
${item}
"
.
;
\
sed
-e
"s|
\\\\
setgitrevision{.*}|
\\\\
setgitrevision{
$
${REVISION}
}|"
-i
"
$
${item}
"
;
\
git add
"
$
${item}
"
;
\
done
%.pdf
:
%.tex fix
%.pdf
:
%.tex
@
sed
-r
-e
'/^[A-Z_]*_(START|END)/d'
-e
's/REQUEST_SERIAL_VALUE/12345678/'
-e
's/FINGERPRINT_VALUE/00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:01:23:45:67/'
-e
's/([A-Z])_([A-Z])/\1\\_\2/g'
-e
's/@text_directory@\///'
"
$<
"
>
"
$<
.test"
@
if
pdflatex
$<
.test
;
then
mv
"
$<
.pdf"
"
$@
"
;
git add
"
$@
"
;
fi
@
rm
$<
.
*
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment