Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
7f4afe29
Commit
7f4afe29
authored
Jul 07, 2014
by
Ghislain MARY
Browse files
Fix generation of gitversion.h.
parent
ed6499b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
coreapi/Makefile.am
coreapi/Makefile.am
+10
-10
No files found.
coreapi/Makefile.am
View file @
7f4afe29
...
...
@@ -130,7 +130,7 @@ test_numbers_LDADD=liblinphone.la $(liblinphone_la_LIBADD)
endif
AM_CPPFLAGS
=
\
-I
$(top_srcdir)
-I
$(top_srcdir)
/include
-I
$(top_srcdir)
-I
$(top_srcdir)
/include
-I
$(builddir)
AM_CFLAGS
=
\
$(STRICT_OPTIONS)
-DIN_LINPHONE
\
...
...
@@ -167,21 +167,21 @@ make_gitversion_h:
echo
"*** PACKAGE_VERSION and git tag differ. Please put them identical."
;
\
exit
1
;
\
fi
;
\
$(ECHO)
-n
"#define LIBLINPHONE_GIT_VERSION
\"
$(GITDESCRIBE)
\"
"
>
$(GITVERSION_FILE_TMP)
;
\
$(ECHO)
-n
"#define LIBLINPHONE_GIT_VERSION
\"
$(GITDESCRIBE)
\"
"
>
$(builddir)
/
$(GITVERSION_FILE_TMP)
;
\
elif
test
"
$(GITREVISION)
"
!=
""
;
then
\
$(ECHO)
-n
"#define LIBLINPHONE_GIT_VERSION
\"
$(LINPHONE_VERSION)
_
$(GITREVISION)
\"
"
>
$(GITVERSION_FILE_TMP)
;
\
$(ECHO)
-n
"#define LIBLINPHONE_GIT_VERSION
\"
$(LINPHONE_VERSION)
_
$(GITREVISION)
\"
"
>
$(builddir)
/
$(GITVERSION_FILE_TMP)
;
\
else
\
$(ECHO)
-n
""
>
$(GITVERSION_FILE_TMP)
;
\
$(ECHO)
-n
""
>
$(builddir)
/
$(GITVERSION_FILE_TMP)
;
\
fi
;
\
else
\
$(ECHO)
-n
""
>
$(GITVERSION_FILE_TMP)
;
\
$(ECHO)
-n
""
>
$(builddir)
/
$(GITVERSION_FILE_TMP)
;
\
fi
if
!
test
-f
$(
src
dir)
/
$(GITVERSION_FILE)
;
then
\
cp
-f
$(
src
dir)
/
$(GITVERSION_FILE_TMP)
$(
src
dir)
/
$(GITVERSION_FILE)
;
\
if
!
test
-f
$(
build
dir)
/
$(GITVERSION_FILE)
;
then
\
cp
-f
$(
build
dir)
/
$(GITVERSION_FILE_TMP)
$(
build
dir)
/
$(GITVERSION_FILE)
;
\
fi
if
test
"
`
cat
$(GITVERSION_FILE_TMP)
`
"
!=
"
`
cat
$(
src
dir)
/
$(GITVERSION_FILE)
`
"
;
then
\
cp
-f
$(GITVERSION_FILE_TMP)
$(
src
dir)
/
$(GITVERSION_FILE)
;
\
if
test
"
`
cat
$(builddir)
/
$(GITVERSION_FILE_TMP)
`
"
!=
"
`
cat
$(
build
dir)
/
$(GITVERSION_FILE)
`
"
;
then
\
cp
-f
$(builddir)
/
$(GITVERSION_FILE_TMP)
$(
build
dir)
/
$(GITVERSION_FILE)
;
\
fi
rm
-f
$(GITVERSION_FILE_TMP)
;
rm
-f
$(builddir)
/
$(GITVERSION_FILE_TMP)
;
$(GITVERSION_FILE)
:
make_gitversion_h
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