Author: sebastien.lelong
Date: Tue Dec 30 22:53:10 2008
New Revision: 682
Modified:
trunk/tools/Makefile
Log:
add generated VERSION file in packages
Modified: trunk/tools/Makefile
==============================================================================
--- trunk/tools/Makefile (original)
+++ trunk/tools/Makefile Tue Dec 30 22:53:10 2008
@@ -65,6 +65,9 @@
mkdir distrib/jallib-all_devices-${VERSION}/compiler
mkdir distrib/jallib-all_devices-${VERSION}/blink
mkdir -p distrib/jallib-all_devices-${VERSION}/doc/html
+ # generate VERSION file for each
+ echo ${VERSION} > distrib/jallib-${VERSION}/VERSION
+ echo ${VERSION} > distrib/jallib-all_devices-${VERSION}/VERSION
# get clean source from repos
# (svn export gets the sources, but without any .svn dir (no svn
metadata)
svn export http://jallib.googlecode.com/svn/trunk/unvalidated
distrib/jallib-export
@@ -129,6 +132,8 @@
# guess compiler version
##compiler=`distrib/jallib-export/compiler/jalv2 | sed "s#.*jal \(.*\)
(.*#\1#"`
mkdir -p distrib/jallib-pack-`distrib/jallib-export/compiler/jalv2 |
sed "s#.*jal \(.*\) (.*#\1#"`-${VERSION}
+ # generate VERSION file (jallib version)
+ echo ${VERSION} >
distrib/jallib-pack-`distrib/jallib-export/compiler/jalv2 | sed "s#.*jal
\(.*\) (.*#\1#"`-${VERSION}/VERSION
cp -rp distrib/jallib-export/compiler
distrib/jallib-pack-`distrib/jallib-export/compiler/jalv2 | sed "s#.*jal
\(.*\) (.*#\1#"`-${VERSION}
cp -rp distrib/jallib-${VERSION}/*
distrib/jallib-pack-`distrib/jallib-export/compiler/jalv2 | sed "s#.*jal
\(.*\) (.*#\1#"`-${VERSION}
echo DONE: jallib pack ready
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---