Releasing
[cc0/argeo-build.git] / common.mk
index 05d882ffb9468c26eb6e85053ec492bed67505e6..46b03984697b9a2ce6049b2f36a5af5a1fb7e778 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -2,12 +2,12 @@ build-major=2
 build-minor=3
 
 # 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