[vlc-devel] commit: Create revision.c

Gilles Sabourin gilles.sabourin at free.fr
Wed Jun 3 22:26:36 CEST 2009


commit a76e38e103fb6e405b218c61ef475ca85223262e
Author: Rémi Denis-Courmont <rdenis at simphalempin.com>
Date:   Mon Feb 23 19:11:03 2009 +0200

    Create revision.c

Are you sure you can use git everywhere ?

make[2]: Entering directory `/usr/src/packages/BUILD/vlc-beta-1.1.0/src'
rm -f -- "../include/vlc_about.h.tmp"
mkdir -p -- ../include
echo "/* Automatically generated file - DO NOT EDIT */" > 
"../include/vlc_about.h.tmp"
echo "static const char psz_license[] =" >> "../include/vlc_about.h.tmp"
cat ../COPYING | sed s/'"'/'\\"'/g | gawk '{ print "\""$0"\\n\"" }' >> 
"../include/vlc_about.h.tmp"
echo ";" >> "../include/vlc_about.h.tmp"
echo "static const char psz_thanks[] =" >> "../include/vlc_about.h.tmp"
grep -v '$Id:'  ../THANKS | sed s/'"'/'\\"'/g | gawk '{ print "\""$0"\\n\"" 
}'|sed s/"<.*.> "// >> "../include/vlc_about.h.tmp"
echo ";" >> "../include/vlc_about.h.tmp"
echo "static const char psz_authors[] =" >> "../include/vlc_about.h.tmp"
grep N: ../AUTHORS | cut -d" " -f 2- | sed s/'"'/'\\"'/g | gawk '{ print 
"\""$0"\\n\"" }' >> "../include/vlc_about.h.tmp"
echo ";" >> "../include/vlc_about.h.tmp"
mv -f -- "../include/vlc_about.h.tmp" "../include/vlc_about.h"
rm -f -- revision.tmp
git describe --tags --long --always > revision.tmp
fatal: Not a git repository
make[2]: *** [stamp-revision] Error 128
make[2]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-1.1.0'
make: *** [all] Error 2

Best,
Gilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090603/b0191000/attachment.html>


More information about the vlc-devel mailing list