annotate Makefile @ 786:f7df78989ac5

Generate MonetVersion.java rather than MonetDriver.java MonetDriver.java also contains code, MonetVersion only the generated values.
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Fri, 30 Jun 2023 11:55:48 +0200 (22 months ago)
parents e00866975421
children a03de7b24ae8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
786
f7df78989ac5 Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 785
diff changeset
1 all: src/main/java/org/monetdb/jdbc/MonetVersion.java
1
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
2 ant -f build.xml distjdbc distmerocontrol
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
3 cd tests; ant -f build.xml jar_jdbctests
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
4
786
f7df78989ac5 Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 785
diff changeset
5 jre17jars: src/main/java/org/monetdb/jdbc/MonetVersion.java
747
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
6 rm -rf build
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
7 ant -f build_jre17.xml distjdbc
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
8 rm -rf build
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
9
786
f7df78989ac5 Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 785
diff changeset
10 src/main/java/org/monetdb/jdbc/MonetVersion.java: build.properties src/main/java/org/monetdb/jdbc/MonetVersion.java.in
f7df78989ac5 Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 785
diff changeset
11 . ./build.properties; sed -e "s/@JDBC_MAJOR@/$$JDBC_MAJOR/g;s/@JDBC_MINOR@/$$JDBC_MINOR/g;s/@JDBC_VER_SUFFIX@/$$JDBC_VER_SUFFIX $$buildno/g" src/main/java/org/monetdb/jdbc/MonetVersion.java.in > src/main/java/org/monetdb/jdbc/MonetVersion.java
1
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
12
747
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
13 testsjar:
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
14 cd tests; ant -f build.xml jar_jdbctests
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
15
193
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
16 doc:
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
17 ant -f build.xml doc
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
18
1
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
19 clean:
786
f7df78989ac5 Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 785
diff changeset
20 rm -f src/main/java/org/monetdb/jdbc/MonetVersion.java
193
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
21 rm -rf build tests/build jars doc
396
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
22
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
23 cleandoc:
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
24 rm -rf doc
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
25
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
26 cleantests:
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
27 rm -rf tests/build
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
28 rm -f jars/jdbctests.jar
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
29