You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by li...@apache.org on 2017/01/10 02:39:28 UTC

[1/3] incubator-trafodion git commit: [TRAFODION-2430] python installer - need to modify Makefile for building a tar package

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master e1fb1dfa3 -> 1e0f840f0


[TRAFODION-2430] python installer - need to modify Makefile for building a tar package


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/a5dd41d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/a5dd41d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/a5dd41d8

Branch: refs/heads/master
Commit: a5dd41d80c7f05b1d4c0148a4f86a77ef7758798
Parents: 548a193
Author: Eason <hf...@gmail.com>
Authored: Fri Jan 6 14:35:32 2017 +0800
Committer: Eason <hf...@gmail.com>
Committed: Fri Jan 6 14:38:05 2017 +0800

----------------------------------------------------------------------
 install/Makefile | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/a5dd41d8/install/Makefile
----------------------------------------------------------------------
diff --git a/install/Makefile b/install/Makefile
index 249f27f..fefa256 100644
--- a/install/Makefile
+++ b/install/Makefile
@@ -17,28 +17,42 @@
 RELEASE_VER ?= ${TRAFODION_VER}-incubating
 RELEASE_TYPE ?= $(shell echo $(TRAFODION_VER_PROD)| sed -e 's/ /-/g')
 INSTALLER_TARNAME = $(shell echo ${RELEASE_TYPE}_installer-${RELEASE_VER}.tar.gz |tr '[A-Z]' '[a-z]')
+PYINSTALLER_TARNAME = $(shell echo ${RELEASE_TYPE}_pyinstaller-${RELEASE_VER}.tar.gz |tr '[A-Z]' '[a-z]')
 
-all: pkg-installer 
+all: pkg-installer
 
-pkg-installer: installer/LICENSE installer/NOTICE installer/DISCLAIMER
+pkg-installer: installer/LICENSE installer/NOTICE installer/DISCLAIMER \
+               python-installer/LICENSE python-installer/NOTICE python-installer/DISCLAIMER
 	tar czf ${INSTALLER_TARNAME} installer --exclude=tools
+	tar czf ${PYINSTALLER_TARNAME} python-installer
 	mkdir -p ../distribution
 	mv ${INSTALLER_TARNAME} ../distribution
+	mv ${PYINSTALLER_TARNAME} ../distribution
 
 installer/LICENSE: ../licenses/LICENSE-install
 	cp -f $? $@
 
+python-installer/LICENSE: ../licenses/LICENSE-install
+	cp -f $? $@
+
 ../licenses/LICENSE-install:
 	cd $(@D) && $(MAKE) $(@F)
 
 installer/NOTICE: ../NOTICE
 	cp -f $? $@
 
+python-installer/NOTICE: ../NOTICE
+	cp -f $? $@
+
 installer/DISCLAIMER: ../DISCLAIMER
 	cp -f $? $@
 
+python-installer/DISCLAIMER: ../DISCLAIMER
+	cp -f $? $@
+
 version:
 	@echo "$(RELEASE_VER)"
 
 clean:
-	rm -f ${INSTALLER_TARNAME} 
+	rm -f ${INSTALLER_TARNAME}
+	rm -f ${PYINSTALLER_TARNAME}


[3/3] incubator-trafodion git commit: Merge Fix for TRAFODION-2430] python installer - need to modify Makefile for building a tar package

Posted by li...@apache.org.
Merge Fix for TRAFODION-2430] python installer - need to modify Makefile for building a tar package


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/1e0f840f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/1e0f840f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/1e0f840f

Branch: refs/heads/master
Commit: 1e0f840f00bf945b29e9385dcdf262e28f119ec1
Parents: e1fb1df 153f333
Author: Liu Ming <ov...@sina.com>
Authored: Tue Jan 10 02:39:08 2017 +0000
Committer: Liu Ming <ov...@sina.com>
Committed: Tue Jan 10 02:39:08 2017 +0000

----------------------------------------------------------------------
 install/Makefile | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)
----------------------------------------------------------------------



[2/3] incubator-trafodion git commit: build python installer in another make target

Posted by li...@apache.org.
build python installer in another make target


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/153f3336
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/153f3336
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/153f3336

Branch: refs/heads/master
Commit: 153f33362afecec0eb33267226e3b35efb06341a
Parents: a5dd41d
Author: Eason <hf...@gmail.com>
Authored: Fri Jan 6 17:56:07 2017 +0800
Committer: Eason <hf...@gmail.com>
Committed: Fri Jan 6 17:56:07 2017 +0800

----------------------------------------------------------------------
 install/Makefile | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/153f3336/install/Makefile
----------------------------------------------------------------------
diff --git a/install/Makefile b/install/Makefile
index fefa256..9831a92 100644
--- a/install/Makefile
+++ b/install/Makefile
@@ -19,34 +19,37 @@ RELEASE_TYPE ?= $(shell echo $(TRAFODION_VER_PROD)| sed -e 's/ /-/g')
 INSTALLER_TARNAME = $(shell echo ${RELEASE_TYPE}_installer-${RELEASE_VER}.tar.gz |tr '[A-Z]' '[a-z]')
 PYINSTALLER_TARNAME = $(shell echo ${RELEASE_TYPE}_pyinstaller-${RELEASE_VER}.tar.gz |tr '[A-Z]' '[a-z]')
 
-all: pkg-installer
+all: pkg-installer pkg-pyinstaller
 
-pkg-installer: installer/LICENSE installer/NOTICE installer/DISCLAIMER \
-               python-installer/LICENSE python-installer/NOTICE python-installer/DISCLAIMER
-	tar czf ${INSTALLER_TARNAME} installer --exclude=tools
-	tar czf ${PYINSTALLER_TARNAME} python-installer
+create-dir:
 	mkdir -p ../distribution
-	mv ${INSTALLER_TARNAME} ../distribution
-	mv ${PYINSTALLER_TARNAME} ../distribution
 
-installer/LICENSE: ../licenses/LICENSE-install
-	cp -f $? $@
+pkg-pyinstaller: create-dir python-installer/LICENSE python-installer/NOTICE python-installer/DISCLAIMER
+	tar czf ${PYINSTALLER_TARNAME} python-installer
+	mv ${PYINSTALLER_TARNAME} ../distribution
 
-python-installer/LICENSE: ../licenses/LICENSE-install
-	cp -f $? $@
+pkg-installer: create-dir installer/LICENSE installer/NOTICE installer/DISCLAIMER
+	tar czf ${INSTALLER_TARNAME} installer --exclude=tools
+	mv ${INSTALLER_TARNAME} ../distribution
 
 ../licenses/LICENSE-install:
 	cd $(@D) && $(MAKE) $(@F)
 
-installer/NOTICE: ../NOTICE
+installer/LICENSE: ../licenses/LICENSE-install
 	cp -f $? $@
 
-python-installer/NOTICE: ../NOTICE
+installer/NOTICE: ../NOTICE
 	cp -f $? $@
 
 installer/DISCLAIMER: ../DISCLAIMER
 	cp -f $? $@
 
+python-installer/LICENSE: ../licenses/LICENSE-install
+	cp -f $? $@
+
+python-installer/NOTICE: ../NOTICE
+	cp -f $? $@
+
 python-installer/DISCLAIMER: ../DISCLAIMER
 	cp -f $? $@