update version.sh to exclude third-party. add $Id:$ to the new files s.t. version.sh will find them.
This commit is contained in:
parent
e94b016e81
commit
43bfc5cd7f
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef TR_LIST_H
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef TR_MAKEMETA_H
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef _TR_POINTERS_H_
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#include "list.h"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef _TR_PUBLISHER_H_
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef _TR_TIMER_H_
|
||||
|
|
|
@ -1051,8 +1051,6 @@ int tr_torrentAddCompact( tr_torrent_t * tor, int from,
|
|||
added += tr_torrentAttachPeer( tor, peer );
|
||||
}
|
||||
|
||||
tr_inf( "tr_torrentAddCompact %d peers to %s", added, tor->info.name );
|
||||
|
||||
return added;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef _TR_TRACKER_H_
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* so that the bulk of its code can remain under the MIT license.
|
||||
* This exemption does not extend to derived works not owned by
|
||||
* the Transmission project.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef TR_EVENT_H
|
||||
|
|
|
@ -12,14 +12,10 @@ STRING=0.80+
|
|||
|
||||
PEERID_PREFIX="-TR080Z-"
|
||||
USERAGENT_PREFIX="0.80+"
|
||||
SVN_REVISION=`( find . '(' -name '*.[chm]' -o -name '*.cpp' -o -name '*.po' \
|
||||
-o -name '*.mk' -o -name '*.in' -o -name 'Makefile' \
|
||||
-o -name 'configure' ')' -exec cat '{}' ';' ) | \
|
||||
sed -e '/\$Id:/!d' -e \
|
||||
's/.*\$Id: [^ ]* \([0-9]*\) .*/\1/' |
|
||||
awk 'BEGIN { REV=0 }
|
||||
{ if ( $1 > REV ) REV=$1 }
|
||||
END { print REV }'`
|
||||
SVN_REVISION=`find ./ -name "*\.[ch]" -o -name "*\.cpp" -o -name "*\.po" | \
|
||||
xargs grep "\$Id:" | \
|
||||
grep -v third-party | \
|
||||
cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
|
||||
|
||||
# Generate files to be included: only overwrite them if changed so make
|
||||
# won't rebuild everything unless necessary
|
||||
|
|
Loading…
Reference in New Issue