also link core manpages into tmp

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-25 20:34:13 +01:00
parent 1a2f7bb8bb
commit 1398cde9f0

View file

@ -82,10 +82,12 @@ all:
#
# Type manpages are in no good format for asciidoc, make them look good!
manlinktypes: $(MANTMPDIR)
manlink: $(MANTMPDIR)
for mansrc in $(MAN7TYPESRC); do \
dst="$$(echo $$mansrc | sed -e 's;conf/;cdist-;' -e 's;/;;' -e 's;/man;;' -e 's;^;$(MANTMPDIR)/;')"; \
ln -sf ../../../$$mansrc $$dst; done
for mansrc in $(MAN1SRC); do ln -sf ../../../$$mansrc $(MANTMPDIR); done
for mansrc in $(MAN7SRC); do ln -sf ../../../$$mansrc $(MANTMPDIR); done
################################################################################