Skip to content

Commit d934c28

Browse files
committed
Merge pull request #60 from cchampet/build_install_jar
Sconscript: install Jar file
2 parents 9951dc3 + e9d5a4d commit d934c28

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/SConscript

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Import( "envPy" )
77
Import( "installPrefix" )
88
Import( "resampleLibraryName" )
99

10+
# Set a default version
11+
avTranscoderVersion = "0.0.1"
12+
1013
try:
1114
import git
1215
# Get last tag of git repository
@@ -18,8 +21,7 @@ try:
1821
else:
1922
raise
2023
except Exception:
21-
# Set a default version
22-
avTranscoderVersion = "0.0.1"
24+
print "Warning: Can't access the last tag of git repository ; default version will be '0.0.1'."
2325

2426
env.Append(
2527
SHLIBVERSION = avTranscoderVersion
@@ -120,3 +122,4 @@ else:
120122
)
121123
env.Depends( javaAvTranscoder_jar, javaAvTranscoder_class )
122124
Export( { 'jAvTranscoderJar' : javaAvTranscoder_jar } )
125+
env.Alias( "install", env.Install( os.path.join( installPrefix, "jar" ), javaAvTranscoder_jar ) )

0 commit comments

Comments
 (0)
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