Commit ea7eb70e authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Add "help" target for top-makefile

parent a78a3168
.PHONY: clean all rel_mktemp_dir console controller all .PHONY: clean all rel_mktemp_dir console controller help
CONTROLLER_REL_TAR:=$(CURDIR)/controller_$(shell date +%Y%m%d%H%M).tar.gz CONTROLLER_REL_TAR:=$(CURDIR)/controller_$(shell date +%Y%m%d%H%M).tar.gz
CONSOLE_REL_TAR:=$(CURDIR)/console_$(shell date +%Y%m%d%H%M).tar.gz CONSOLE_REL_TAR:=$(CURDIR)/console_$(shell date +%Y%m%d%H%M).tar.gz
...@@ -10,6 +10,28 @@ all: ...@@ -10,6 +10,28 @@ all:
cd libnova-0.13.0 ; ./configure -enable-static -disable-shared --prefix=${CURDIR} ; make; make install cd libnova-0.13.0 ; ./configure -enable-static -disable-shared --prefix=${CURDIR} ; make; make install
$(MAKE) -C console $(MAKE) -C console
help:
@echo "Available build rules"; \
echo "---------------------"; \
echo " console Build all executables for the console"; \
echo " controller Build the controller executables"; \
echo " all Build both controller and console"; \
echo " release_console Build a release tar file for the console"; \
echo " release_controller Build a release tar file for the controller"; \
echo " release Build both controller and console release"; \
echo " clean Clean for both controller and console"; \
echo ""; \
echo "Building a release"; \
echo "------------------"; \
echo "Simply running \"make release\" will build both the console and"; \
echo "controller. They are stored in individual tar files, in the root"; \
echo "of the dt_ctrl directory."; \
echo "The releases are built in a temporary work directory from a clean"; \
echo "git checkout. A release to be used for production must always"; \
echo "be built from a version which is already committed to the"; \
echo "golden repository (on eris.camras.nl)."
controller: controller:
$(MAKE) -C common/utils $(MAKE) -C common/utils
$(MAKE) -C common/trace $(MAKE) -C common/trace
......
Supports Markdown
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