Stefan Schuermans commited on 2011-09-10 17:10:44
Showing 3 changed files, with 23 additions and 2 deletions.
... | ... |
@@ -3,6 +3,11 @@ Copyright (C) 2004-2011: Stefan Schuermans <stefan@schuermans.info> |
3 | 3 |
Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
4 | 4 |
a blinkenarea.org project |
5 | 5 |
|
6 |
+0.1.5 2011-09-10 |
|
7 |
+---------------- |
|
8 |
+version information available in class file |
|
9 |
+adaptions to build system because of git repository usage |
|
10 |
+ |
|
6 | 11 |
0.1.4 2009-11-21 |
7 | 12 |
---------------- |
8 | 13 |
fixed bug in resizing when increasing number of channels |
... | ... |
@@ -3,6 +3,10 @@ |
3 | 3 |
# Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
4 | 4 |
# a blinkenarea.org project |
5 | 5 |
|
6 |
+VERSION_MAJOR=0 |
|
7 |
+VERSION_MINOR=1 |
|
8 |
+VERSION_REVISION=5 |
|
9 |
+ |
|
6 | 10 |
JAVAC=javac |
7 | 11 |
JAR=jar |
8 | 12 |
KEYTOOL=keytool |
... | ... |
@@ -11,17 +15,28 @@ KEYPASS=BlinkenLib |
11 | 15 |
JAVA=java |
12 | 16 |
P=org/blinkenarea/BlinkenLib |
13 | 17 |
|
14 |
-CLASS_FILES=$(P)/BlinkenConstants.class $(P)/BlinkenFrame.class $(P)/BlinkenMovie.class |
|
18 |
+CLASS_FILES=$(P)/BlinkenConstants.class $(P)/BlinkenFrame.class \ |
|
19 |
+ $(P)/BlinkenMovie.class $(P)/Version.class |
|
15 | 20 |
|
16 | 21 |
.phony: all clean jar |
17 | 22 |
|
18 | 23 |
all: jar |
19 | 24 |
|
20 | 25 |
clean: |
21 |
- rm -f $(CLASS_FILES) BlinkenLib.jar |
|
26 |
+ rm -f org/blinkenarea/BlinkenLib/Version.java |
|
27 |
+ rm -f $(CLASS_FILES) |
|
28 |
+ rm -f BlinkenLib.jar |
|
22 | 29 |
|
23 | 30 |
jar: BlinkenLib.jar |
24 | 31 |
|
32 |
+org/blinkenarea/BlinkenLib/Version.java: Makefile |
|
33 |
+ echo "package org.blinkenarea.BlinkenLib;" >$@ |
|
34 |
+ echo "public class Version {" >>$@ |
|
35 |
+ echo " public static int Major = $(VERSION_MAJOR);" >>$@ |
|
36 |
+ echo " public static int Minor = $(VERSION_MINOR);" >>$@ |
|
37 |
+ echo " public static int Revision = $(VERSION_REVISION);" >>$@ |
|
38 |
+ echo "}" >>$@ |
|
39 |
+ |
|
25 | 40 |
%.class: %.java |
26 | 41 |
$(JAVAC) $< |
27 | 42 |
|