forked from ungleich-public/cdist
and in practise link to .. is better than somewhere else
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
bbe4f940e3
commit
6e85d65b72
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -84,8 +84,8 @@ $(MAN1DSTDIR) $(MAN7DSTDIR) $(MANHTMLDIR):
|
|||
|
||||
# Link source files
|
||||
manlink: $(MAN1DSTDIR) $(MAN7DSTDIR)
|
||||
for mansrc in $(MAN1SRC); do ln -sf $$mansrc $(MAN1DSTDIR); done
|
||||
for mansrc in $(MAN7SRC); do ln -sf $$mansrc $(MAN7DSTDIR); done
|
||||
for mansrc in $(notdir $(MAN1SRC)); do ln -sf ../$$mansrc $(MAN1DSTDIR); done
|
||||
for mansrc in $(notdir $(MAN7SRC)); do ln -sf ../$$mansrc $(MAN7DSTDIR); done
|
||||
for mansrc in $(MAN7TYPESRC); do \
|
||||
dst="$$(echo $$mansrc | sed -e 's;conf/;cdist-;' -e 's;/;;' -e 's;/man;;' -e 's;^;doc/man/man7/;')"; \
|
||||
ln -sf $$mansrc $$dst; done
|
||||
|
|
Loading…
Reference in a new issue