run.mk: Add rule check-conf

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-06-23 21:38:36 +00:00
commit aa9d1fa2ac

View file

@ -71,7 +71,7 @@ restart: stop wait-stop all start
valgrind:
rm -f $(CORE)
valgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
supp.tmp:
valgrind --gen-suppressions=all $(EXE_PATH) $(EXE_ARGS) 2>$@.tmp; mv $@.tmp $@ || exit 0
@ -108,6 +108,10 @@ callgrind-dump:
snap:
killall -SIGUSR1 $(notdir $(EXE_PATH))
check-conf:
$(firstword $(wildcard $(CVS_PROJ_DIR)/valdi/bin/checkconf) checkconf) -p --log-flags console \
$(shell echo $(EXE_ARGS) | sed 's/.*--config-file *//; s/ .*//')
endif
stop: