Commit 097466b7 authored by Axel Auweter's avatar Axel Auweter
Browse files

Add mrproper target.

Ensure Thrift is being built with only one thread.
parent 6756d3eb
......@@ -19,8 +19,8 @@ info:
@echo "DCDB - Data Center Database"
@echo "Buildsystem description"
@echo ""
@echo "Use the DCDBDEPSPATH environment variable to specify a build path."
@echo "Currently, the project will be built to:"
@echo "Use the DCDBDEPSPATH environment variable to specify a build path for the"
@echo "dependencies. Currently, the project dependenceis will be built to:"
@echo "$(DCDBDEPSPATH)"
@echo ""
@echo "Use the DCDBDEPLOYPATH environment variable to specifiy the path for deployment"
......@@ -46,6 +46,13 @@ distclean: clean
@echo "Wiping dependencies..."
@rm -rf $(DCDBDEPSPATH)
mrproper: distclean
$(eval U := $(shell whoami))
@if [ "$(U)" = "root" ]; then echo "Sorry, I won't allow you to use mrproper as root."; exit 1; fi
@echo ""
@echo "Wiping installation directory..."
@rm -rf $(DCDBDEPLOYPATH)
all: $(DCDBDEPSPATH)/.prerequesites
make $(PROJECTS)
......@@ -71,7 +78,8 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
$(eval T := $(shell echo "$(DISTFILESPATHS)" | sed 's/.*thrift/thrift/' | sed 's/\ .*//'))
@cd $(DCDBDEPSPATH)/$(T) && ./configure --prefix=$(DCDBDEPLOYPATH) --without-qt4 --without-csharp \
--without-java --without-erlang --without-python --without-perl --without-php --without-php_extension \
--without-ruby --without-haskell --without-go --without-d --with-cpp --with-boost=$(DCDBDEPLOYPATH) && make && make install
--without-ruby --without-haskell --without-go --without-d --with-cpp --with-boost=$(DCDBDEPLOYPATH) \
--enable-libtool-lock && make -j 1 && make install
@echo ""
@echo "Staging and configuring Cassandra..."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment