hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject incubator-hawq git commit: HAWQ-1395. PXF build script to support excluding building RPMs for some plugins.
Date Tue, 21 Mar 2017 22:27:04 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 19a7b22b6 -> efaf24ea4


HAWQ-1395. PXF build script to support excluding building RPMs for some plugins.


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

Branch: refs/heads/master
Commit: efaf24ea40c49c033da17cb6129a3af2ebe2ef29
Parents: 19a7b22
Author: Oleksandr Diachenko <odiachenko@pivotal.io>
Authored: Tue Mar 21 15:25:24 2017 -0700
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Tue Mar 21 15:27:00 2017 -0700

----------------------------------------------------------------------
 pxf/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/efaf24ea/pxf/Makefile
----------------------------------------------------------------------
diff --git a/pxf/Makefile b/pxf/Makefile
index 9095ccb..30137fe 100644
--- a/pxf/Makefile
+++ b/pxf/Makefile
@@ -44,19 +44,20 @@ endif
 
 help:
 	@echo 
-	@echo"help it is then"
+	@echo "help it is then"
 	@echo   "Possible targets"
 	@echo	"  - all (clean, build, unittest, jar, tar, rpm)"
 	@echo	"  -  -  HD=<phd|hdp> - set classpath to match hadoop distribution. default
phd"
 	@echo	"  -  -  LICENSE=<license info> - add license info to created RPMs"
 	@echo	"  -  -  VENDOR=<vendor name> - add vendor name to created RPMs"
+	@echo	"  -  -  PLUGINS_EXCLUDE_RPM=plugin1, plugin2,... - do not build and RPM for given
comma-separated list of plugins"
 	@echo	"  - tomcat - builds tomcat rpm from downloaded tarball"
 	@echo	"  -  -  LICENSE and VENDOR parameters can be used as well"
 	@echo	"  - deploy - setup PXF along with tomcat in the configured deployPath"
 	@echo	"  - doc - creates aggregate javadoc under docs"
 
-all: 
-	./gradlew clean release $(BUILD_PARAMS)
+all:
+	./gradlew clean release $(BUILD_PARAMS) $$(echo $$(for i in $$(echo ${PLUGINS_EXCLUDE_RPM}
| sed 's/,/ /g'); do echo -x $$i:buildRpm ; done))
 	
 unittest:
 	./gradlew test


Mime
View raw message