Create include/gpac/version.h in case subversion is not installed in host system.
authorAndres Mejia <mcitadel@gmail.com>
Sun, 1 May 2011 04:08:44 +0000 (00:08 -0400)
committerAndres Mejia <mcitadel@gmail.com>
Sun, 1 May 2011 04:08:44 +0000 (00:08 -0400)
debian/rules

index d70c3493ef5a5ec8920d3b08f18ff68015417657..7ae88584228a2cb4427fb17781109579743cc369 100755 (executable)
@@ -8,6 +8,7 @@ override_dh_auto_configure:
        dh_auto_configure -- --prefix=/usr --mandir=\$${prefix}/share/man \
        --extra-cflags="-Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX" \
        --enable-joystick --disable-ssl
+       echo "#define GPAC_SVN_REVISION \"\"" >include/gpac/version.h
 
 override_dh_auto_install:
        $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr \