[pkg-eucalyptus-commits] r173 - eucalyptus/trunk/debian

Rudy Godoy rudy at alioth.debian.org
Sat Oct 29 16:34:39 UTC 2011


Author: rudy
Date: 2011-10-29 16:34:39 +0000 (Sat, 29 Oct 2011)
New Revision: 173

Modified:
   eucalyptus/trunk/debian/rules
Log:
Reverted change to debian/rules, my mistake. Updated JAVA_HOME to use default-jdk.

Modified: eucalyptus/trunk/debian/rules
===================================================================
--- eucalyptus/trunk/debian/rules	2011-10-28 15:03:16 UTC (rev 172)
+++ eucalyptus/trunk/debian/rules	2011-10-29 16:34:39 UTC (rev 173)
@@ -1,69 +1,45 @@
 #!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-#export DH_OPTIONS=-v
 
-%:
-	dh  $@
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-# Use override_dh_* targets to customize this.
-# ---------------------------------------------------
-# Followings are the old debian/rules
-#
-# #!/usr/bin/make -f
-# # Uncomment this to turn on verbose mode.
-# #export DH_VERBOSE=1
-# #export DH_OPTIONS=-v
-# 
-# %:
-# 	dh  $@
-# 
-# # Use override_dh_* targets to customize this.
-# # ---------------------------------------------------
-# # Followings are the old debian/rules
-# #
-# # #!/usr/bin/make -f
-# # 
-# # include /usr/share/cdbs/1/rules/debhelper.mk
-# # include /usr/share/cdbs/1/class/autotools.mk
-# # #include /usr/share/cdbs/1/rules/simple-patchsys.mk
-# # 
-# # DEB_DH_INSTALL_ARGS = --list-missing
-# # 
-# # EUCALYPTUS=/
-# # JAVA_HOME=/usr/lib/jvm/default-java
-# # AXIS2_CLASSPATH=$(shell echo $(CURDIR)/clc/lib/*.jar | tr \  :)
-# # # Axis2 jar classpath for testing.
-# # #AXIS2_CLASSPATH="$HOME//eucalyptus-src-deps/axis2-1.4"
-# # 
-# # export EUCALYPTUS
-# # export JAVA_HOME
-# # export AXIS2_CLASSPATH
-# # DEB_MAKE_CLEAN_TARGET := clean
-# # DEB_CONFIGURE_EXTRA_FLAGS := --with-axis2c=/usr/lib/axis2 --with-axis2c-services=/usr/lib/axis2/services --prefix=$(EUCALYPTUS)
-# # DEB_DH_SHLIBDEPS_ARGS_ALL = -l/usr/lib/axis2/lib
-# # 
-# # makebuilddir/eucalyptus-common:: setup-lib
-# # 
-# # setup-lib:
-# # 	@sed -i 's/EUCALYPTUS_HOME//g' tools/client-policy-template.xml
-# # 	@sed -i 's/AXIS2C_HOME\/lib/\/usr\/lib\/apache2\/modules/g' tools/httpd.conf
-# # 	@sed -i 's/rm -rf generated//g' cluster/Makefile node/Makefile gatherlog/Makefile
-# # 	@sed -i 's/patch -p1.*.patch; //g' cluster/Makefile node/Makefile gatherlog/Makefile
-# # # Makefile are not being patched to allow the build process to generate the stubs on built-time
-# # #	@sed -i 's/.*WSDL2C.*//g' cluster/Makefile node/Makefile gatherlog/Makefile
-# # 
-# # # Build process doesn't use debian/build-jars to make symlinks, because it triggers a JarIndex error
-# # #	mkdir -p clc/lib && for i in `cat debian/build-jars`; do if [ -e $$i ]; then ln -fsv $$i $(CURDIR)/clc/lib; fi; done
-# # 	touch setup-lib
-# # 
-# # install/eucalyptus-java-common::
-# # 	mkdir -p $(DEB_DESTDIR)/usr/share/eucalyptus
-# # 	cp -fvL /usr/share/java/antlr.jar $(DEB_DESTDIR)/usr/share/eucalyptus/antlr.jar
-# # 
-# # install/eucalyptus-common::
-# # 	sed -i 's/^FILE=.*$$/FILE="\/etc\/eucalyptus\/eucalyptus.conf"/g' $(DEB_DESTDIR)/usr/sbin/euca_conf
-# # 	rm -f $(DEB_DESTDIR)/etc/init.d/eucalyptus
-# # 
-# # clean::
-# # 	rm -rf setup-lib clc/modules/msgs/resources/msgs-binding.xml clc/modules/storage-controller/lib/liblvm2control.so clc/modules/storage-manager/lib/libfsstorage.so clc/modules/www/webapps/root.war node/test_nc node/test config.status clc/modules/storage-controller/include/edu_ucsb_eucalyptus_storage_LVM2Manager.h clc/modules/storage-controller/include/edu_ucsb_eucalyptus_storage_AOEManager.h clc/modules/storage-manager/include/edu_ucsb_eucalyptus_storage_fs_FileSystemStorageManager.h cluster/cc-client-policy.xml node/nc-client-policy.xml util/config.h config.log Makedefs
+DEB_DH_INSTALL_ARGS = --list-missing
+
+EUCALYPTUS=/
+JAVA_HOME=/usr/lib/jvm/default-java
+AXIS2_CLASSPATH=$(shell echo $(CURDIR)/clc/lib/*.jar | tr \  :)
+# Axis2 jar classpath for testing.
+#AXIS2_CLASSPATH="$HOME//eucalyptus-src-deps/axis2-1.4"
+
+export EUCALYPTUS
+export JAVA_HOME
+export AXIS2_CLASSPATH
+DEB_MAKE_CLEAN_TARGET := clean
+DEB_CONFIGURE_EXTRA_FLAGS := --with-axis2c=/usr/lib/axis2 --with-axis2c-services=/usr/lib/axis2/services --prefix=$(EUCALYPTUS)
+DEB_DH_SHLIBDEPS_ARGS_ALL = -l/usr/lib/axis2/lib
+
+makebuilddir/eucalyptus-common:: setup-lib
+
+setup-lib:
+	@sed -i 's/EUCALYPTUS_HOME//g' tools/client-policy-template.xml
+	@sed -i 's/AXIS2C_HOME\/lib/\/usr\/lib\/apache2\/modules/g' tools/httpd.conf
+	@sed -i 's/rm -rf generated//g' cluster/Makefile node/Makefile gatherlog/Makefile
+	@sed -i 's/patch -p1.*.patch; //g' cluster/Makefile node/Makefile gatherlog/Makefile
+# Makefile are not being patched to allow the build process to generate the stubs on built-time
+#	@sed -i 's/.*WSDL2C.*//g' cluster/Makefile node/Makefile gatherlog/Makefile
+
+# Build process doesn't use debian/build-jars to make symlinks, because it triggers a JarIndex error
+#	mkdir -p clc/lib && for i in `cat debian/build-jars`; do if [ -e $$i ]; then ln -fsv $$i $(CURDIR)/clc/lib; fi; done
+	touch setup-lib
+
+install/eucalyptus-java-common::
+	mkdir -p $(DEB_DESTDIR)/usr/share/eucalyptus
+	cp -fvL /usr/share/java/antlr.jar $(DEB_DESTDIR)/usr/share/eucalyptus/antlr.jar
+
+install/eucalyptus-common::
+	sed -i 's/^FILE=.*$$/FILE="\/etc\/eucalyptus\/eucalyptus.conf"/g' $(DEB_DESTDIR)/usr/sbin/euca_conf
+	rm -f $(DEB_DESTDIR)/etc/init.d/eucalyptus
+
+clean::
+	rm -rf setup-lib clc/modules/msgs/resources/msgs-binding.xml clc/modules/storage-controller/lib/liblvm2control.so clc/modules/storage-manager/lib/libfsstorage.so clc/modules/www/webapps/root.war node/test_nc node/test config.status clc/modules/storage-controller/include/edu_ucsb_eucalyptus_storage_LVM2Manager.h clc/modules/storage-controller/include/edu_ucsb_eucalyptus_storage_AOEManager.h clc/modules/storage-manager/include/edu_ucsb_eucalyptus_storage_fs_FileSystemStorageManager.h cluster/cc-client-policy.xml node/nc-client-policy.xml util/config.h config.log Makedefs




More information about the pkg-eucalyptus-commits mailing list