forked from ungleich-public/cdist
continue rewrite of build-helper
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
9326adf34b
commit
9cde0d9d94
2 changed files with 14 additions and 3 deletions
13
Makefile
13
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue