Commit c262bd27 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove obsolete stuff

parent eae01d1b
...@@ -1203,6 +1203,7 @@ VLC_EXPORT( const char *, VLC_CompileHost, ( void ) ); ...@@ -1203,6 +1203,7 @@ VLC_EXPORT( const char *, VLC_CompileHost, ( void ) );
VLC_EXPORT( const char *, VLC_CompileDomain, ( void ) ); VLC_EXPORT( const char *, VLC_CompileDomain, ( void ) );
VLC_EXPORT( const char *, VLC_Compiler, ( void ) ); VLC_EXPORT( const char *, VLC_Compiler, ( void ) );
VLC_EXPORT( const char *, VLC_Error, ( int ) ); VLC_EXPORT( const char *, VLC_Error, ( int ) );
VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
/***************************************************************************** /*****************************************************************************
* Additional vlc stuff * Additional vlc stuff
...@@ -1211,10 +1212,7 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) ); ...@@ -1211,10 +1212,7 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) );
# ifdef HAVE_DIRENT_H # ifdef HAVE_DIRENT_H
# include <dirent.h> /* for DIR typedef in vlc_symbols.h */ # include <dirent.h> /* for DIR typedef in vlc_symbols.h */
# endif # endif
VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
# include "vlc_symbols.h" # include "vlc_symbols.h"
#else
# define VLC_Changeset( ) ("exported")
#endif #endif
#include "vlc_os_specific.h" #include "vlc_os_specific.h"
#include "vlc_messages.h" #include "vlc_messages.h"
......
...@@ -30,7 +30,6 @@ recognized flags are: ...@@ -30,7 +30,6 @@ recognized flags are:
--update-vc7 update Microsoft Visual .NET files --update-vc7 update Microsoft Visual .NET files
--update-po update translation files --update-po update translation files
--update-includes generate various include files --update-includes generate various include files
--update-version generate src/misc/version.c
--update-glade2 generate and fix Glade 2 code --update-glade2 generate and fix Glade 2 code
--update-flexml generate and fix flexml and flex code --update-flexml generate and fix flexml and flex code
--distclean "make distclean" on steroids --distclean "make distclean" on steroids
...@@ -75,9 +74,6 @@ case "$1" in ...@@ -75,9 +74,6 @@ case "$1" in
--update-includes) --update-includes)
action=includes action=includes
;; ;;
--update-version)
action=version
;;
--update-flexml) --update-flexml)
action=flexml action=flexml
;; ;;
...@@ -583,50 +579,6 @@ then ...@@ -583,50 +579,6 @@ then
exit 0 exit 0
fi fi
##
## Create version file
##
if test "${action}" = "version"
then
if test -z "${srcdir}"; then
srcdir="`sed -ne 's/^srcdir *= *//p' < Makefile`"
fi
if test -z "${builddir}"; then
builddir="`sed -ne 's/^top_builddir *= *//p' < Makefile`"
fi
if test -z "${CC}"; then
CC="`sed -ne 's/^CC *= *//p' < Makefile`"
fi
file="${builddir}/src/misc/version.c"
if which svnversion 2>&1 >/dev/null; then
VLC_CHANGESET=`svnversion $srcdir`
else
VLC_CHANGESET='exported'
fi
rm -f ${file}.tmp
mkdir -p -- "${builddir}/src/misc"
cat > ${file}.tmp << EOF
/* DO NOT EDIT THIS FILE - IT IS REGENERATED AT EVERY COMPILE -
* IT GIVES BETTER TRACKING OF VLC STABLE AND DEVELOPMENT VERSIONS
* WHETHER THEY ARE BUILT BY OTHERS OR DURING DEVELOPMENT OR FOR THE
* OFFICIAL VLC STABLE RELEASES.
*/
const char psz_vlc_changeset[] = "${VLC_CHANGESET}";
EOF
if diff >/dev/null 2>&1 ${file} ${file}.tmp
then
rm -f ${file}.tmp
else
echo "creating new ${file}"
mv -f ${file}.tmp ${file}
fi
exit 0
fi
## ##
## Fix glade2-generated files ## Fix glade2-generated files
## ##
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment