annotate version.sh @ 18650:587abd8f3dab

Except for missing cd-dvd.xml and codecs.xml, German xml docs should be complete, synced and corrected :) Here we go: bugreports.xml: * r18600: xml docs: CVS --> Subversion * r18552: URL fix bugs.xml, audio.xml, usage.xml, faq.xml, tvinput.xml, documentation.xml: * fix "in sync with" tag skin.xml: * review * r18600: xml docs: CVS --> Subversion * r17975: Rename the default GUI skins directory from 'Skin' to 'skins' install.xml: * r17975: Rename the default GUI skins directory from 'Skin' to 'skins' * r17707: New website structure, the /homepage subdirectory is gone. * r17462: s/LIVE.COM/LIVE555/ + URL update video.xml: * tiny wording fix mail-lists.xml: * r18606: Fix mailing list name. * r18600: xml docs: CVS --> Subversion
author kraymer
date Thu, 08 Jun 2006 16:20:01 +0000
parents 06c236dd604b
children 04ed79acda15
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
980bafac238f write cvs date+version into version.h
arpi_esp
parents:
diff changeset
1 #!/bin/sh
980bafac238f write cvs date+version into version.h
arpi_esp
parents:
diff changeset
2
18624
06c236dd604b avoid usage of head -1/head -n 1 and use sed 1q instead
ivo
parents: 18595
diff changeset
3 revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2 2>/dev/null`
3292
7fa3a928631a not it looks like this 'MPlayer CVS-011203-19:47-gcc-2.95.3'
jaf
parents: 1621
diff changeset
4
7447
a49219323787 moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :)
alex
parents: 5949
diff changeset
5 extra=""
7448
b464616d40b5 Should be: if test ; then - D Richard Felker III <dalias@aerifal.cx>
alex
parents: 7447
diff changeset
6 if test "$1" ; then
15650
5c5219508907 tabs --> spaces indentation cosmetics
diego
parents: 15649
diff changeset
7 extra="-$1"
7447
a49219323787 moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :)
alex
parents: 5949
diff changeset
8 fi
18595
c55903d85291 cosmetics
diego
parents: 18594
diff changeset
9
c55903d85291 cosmetics
diego
parents: 18594
diff changeset
10 echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h