Releasing
[cc0/argeo-build.git] / common.mk
index 05d882ffb9468c26eb6e85053ec492bed67505e6..bc1bff95576d84bb30c74ea5b0009ac570348a7e 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,13 +1,13 @@
 build-major=2
-build-minor=3
+build-minor=1
 
 # Required third party libraries
-ECJ_BRANCH=4.26
-BND_BRANCH=5.3
+ECJ_MAJOR=3
+BNDLIB_BRANCH=5.3
 SYSLOGGER_BRANCH=$(build-major).$(build-minor)
 
-find-build-tp:
-       $(foreach base, $(A2_BASE), \
-       $(eval LOGGER_JAR = $(shell if [ -f $(base)/org.argeo.tp/org.argeo.tp.syslogger.$(SYSLOGGER_BRANCH).jar ]; then echo $(base)/org.argeo.tp/org.argeo.tp.syslogger.$(SYSLOGGER_BRANCH).jar; fi)) \
-       )
-       echo $(LOGGER_JAR)
\ No newline at end of file
+# GNU defaults
+prefix ?= /usr/local
+datarootdir ?= $(prefix)/share
+
+A2_INSTALL_TARGET ?= $(DESTDIR)$(datarootdir)/a2
\ No newline at end of file