continue rewrite of build-helper

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-07-03 22:33:48 +02:00
parent 9326adf34b
commit 9cde0d9d94
2 changed files with 14 additions and 3 deletions

View file

@ -61,9 +61,20 @@ $(MANREF): $(MANREFSH)
$(MANREFSH)
################################################################################
# generic code
# manpage
# generate links from types
# build manpages
#
mantypedocuments=cdist/conf/type/*/man.text
mantypelist: $(mantypedocuments)
echo $^ >> $@
link-type-manpages:
$(helper) $@
################################################################################
# dist code

View file

@ -67,7 +67,7 @@ case "$1" in
done
;;
mantype)
link-type-manpages)
for mansrc in cdist/conf/type/*/man.text; do
dst="$(echo $mansrc | sed -e 's;cdist/conf/;cdist-;' -e 's;/;;' -e 's;/man;;' -e 's;^;docs/man/man7/;')"
ln -sf "../../../$mansrc" "$dst"
@ -121,7 +121,7 @@ case "$1" in
cat << eof > "$blogfile"
[[!meta title="Cdist $version released"]]
Here's a short overview about the changes found in this release:
Here's a short overview about the changes found in version ${version}:
eof