Browse Source

continue rewrite of build-helper

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2.1
Nico Schottelius 9 years ago
parent
commit
9cde0d9d94
  1. 13
      Makefile
  2. 4
      bin/build-helper

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

4
bin/build-helper

@ -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…
Cancel
Save