From bbf9e5eb39ae07ebc836b92928ff539e154afc8c Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 17 Jun 2016 00:30:38 -0700 Subject: iproute2: Avoid globbing and build ip-{address,link,route} man pages --- core/iproute2/gen.rc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/core/iproute2/gen.rc b/core/iproute2/gen.rc index 3d3bb689..df9b26e5 100644 --- a/core/iproute2/gen.rc +++ b/core/iproute2/gen.rc @@ -36,4 +36,15 @@ yacc ssfilter '$srcdir'/misc/ssfilter.y exe bin/ss misc/ss.c '$outdir'/ssfilter.tab.c libnetlink.a for(exe in bin/^(ip bridge ss)) file $exe '$outdir'/$exe 755 -for(man in man/man8/^(bridge ip* ss)^.8) file share/$man '$srcdir'/$man 644 +man=(\ + bridge ip ss\ + ip-^(\ + addrlabel fou gue l2tp maddress monitor mroute neighbour\ + netconf netns ntable rule tcp_metrics token tunnel xfrm\ + )\ +) for(man in man/man8/$man.8) file share/$man '$srcdir'/$man 644 +for(man in ip-address ip-link ip-route) { + let expr 's,@SYSCONFDIR@,/etc,g' --\ + build '$outdir'/$man.8 sed '$srcdir'/man/man8/$man.8.in + file share/man/man8/$man.8 '$outdir'/$man.8 644 +} -- cgit v1.2.3