begin to make tools more modular in makefile

Signed-off-by: Nico Schottelius <nico@denkbrett.schottelius.org>
This commit is contained in:
Nico Schottelius 2008-06-25 11:38:24 +02:00
parent cfe5433e7a
commit 26b8df4825
2 changed files with 18 additions and 3 deletions

View file

@ -113,6 +113,24 @@ install-manlink: install-man
${INSTALL} -d -m 0755 ${manlink} ${INSTALL} -d -m 0755 ${manlink}
for man in ${mandest}/*; do ${LN} $$man ${manlink}; done 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 # docbook gets .htm, asciidoc directly .html
%.htm: %.docbook %.htm: %.docbook

View file

@ -4,9 +4,6 @@
14:15 <telmich> hatte die extra deswegen umbenannt 14:15 <telmich> hatte die extra deswegen umbenannt
14:15 <telmich> nehme ich mal als hinweis für 0.7.1 14:15 <telmich> nehme ich mal als hinweis für 0.7.1
- add wrapper, to do logging and analyse - add wrapper, to do logging and analyse
* output filename in the wrapper, save into variable * output filename in the wrapper, save into variable
=> mktemp => mktemp