From 8cbd7a0ca071b12dc595e1ba645cf72aa80ff456 Mon Sep 17 00:00:00 2001 From: Clement Champetier Date: Tue, 19 Aug 2014 11:56:22 +0200 Subject: [PATCH 1/2] Sconscript: install Jar file --- src/SConscript | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SConscript b/src/SConscript index 2a85bf91..a29cf779 100644 --- a/src/SConscript +++ b/src/SConscript @@ -120,3 +120,4 @@ else: ) env.Depends( javaAvTranscoder_jar, javaAvTranscoder_class ) Export( { 'jAvTranscoderJar' : javaAvTranscoder_jar } ) + env.Alias( "install", env.Install( os.path.join( installPrefix, "jar" ), javaAvTranscoder_jar ) ) From e9d5a4dfeec40edebbbd9b0873ac172112874187 Mon Sep 17 00:00:00 2001 From: Clement Champetier Date: Tue, 19 Aug 2014 14:05:06 +0200 Subject: [PATCH 2/2] Sconscript: print warning if can't find version from git --- src/SConscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SConscript b/src/SConscript index a29cf779..ef45f5ab 100644 --- a/src/SConscript +++ b/src/SConscript @@ -7,6 +7,9 @@ Import( "envPy" ) Import( "installPrefix" ) Import( "resampleLibraryName" ) +# Set a default version +avTranscoderVersion = "0.0.1" + try: import git # Get last tag of git repository @@ -18,8 +21,7 @@ try: else: raise except Exception: - # Set a default version - avTranscoderVersion = "0.0.1" + print "Warning: Can't access the last tag of git repository ; default version will be '0.0.1'." env.Append( SHLIBVERSION = avTranscoderVersion pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy