From 26b8df48258d122ec4ace1ac8999c7a4e0a16905 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 25 Jun 2008 11:38:24 +0200 Subject: [PATCH] begin to make tools more modular in makefile Signed-off-by: Nico Schottelius --- Makefile | 18 ++++++++++++++++++ doc/todo/0.7.1 | 3 --- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f519c6a..7cb8d80 100644 --- a/Makefile +++ b/Makefile @@ -113,6 +113,24 @@ install-manlink: install-man ${INSTALL} -d -m 0755 ${manlink} for man in ${mandest}/*; do ${LN} $$man ${manlink}; done +# +# Tools +# +TOOLS=ccollect_add_source.sh \ + ccollect_analyse_logs.sh \ + ccollect_delete_source.sh \ + ccollect_logwrapper.sh \ + ccollect_list_intervals.sh + +TOOLSMAN1 = $(subst ccollect,doc/man/ccollect,$(TOOLS)) +TOOLSMAN = $(subst .sh,.text,$(TOOLSMAN1)) + +TOOLSFP = $(subst ccollect,tools/ccollect,$(TOOLS)) + +#t2: $(TOOLSMAN) +t2: + echo $(TOOLS) - $(TOOLSMAN) - $(TOOLSFP) + # docbook gets .htm, asciidoc directly .html %.htm: %.docbook diff --git a/doc/todo/0.7.1 b/doc/todo/0.7.1 index 8afae7e..4f4b3e6 100644 --- a/doc/todo/0.7.1 +++ b/doc/todo/0.7.1 @@ -4,9 +4,6 @@ 14:15 hatte die extra deswegen umbenannt 14:15 nehme ich mal als hinweis für 0.7.1 - - - - add wrapper, to do logging and analyse * output filename in the wrapper, save into variable => mktemp