Browse Source

Add "help" target for top-makefile

ui
Michel Roelofs 8 years ago
parent
commit
ea7eb70ed5
1 changed files with 23 additions and 1 deletions
  1. +23
    -1
      Makefile

+ 23
- 1
Makefile View File

@ -1,4 +1,4 @@
.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
CONSOLE_REL_TAR:=$(CURDIR)/console_$(shell date +%Y%m%d%H%M).tar.gz
@ -10,6 +10,28 @@ all:
cd libnova-0.13.0 ; ./configure -enable-static -disable-shared --prefix=${CURDIR} ; make; make install
$(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:
$(MAKE) -C common/utils
$(MAKE) -C common/trace


Loading…
Cancel
Save