summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-17 00:30:38 -0700
committerMichael Forney <mforney@mforney.org>2016-06-17 00:30:38 -0700
commitbbf9e5eb39ae07ebc836b92928ff539e154afc8c (patch)
treee9c06d0a9ff21aae27af87ed933826c8712187e0 /core
parent8a9225b8c2781963f2fe72a0773b338c1b262565 (diff)
iproute2: Avoid globbing and build ip-{address,link,route} man pages
Diffstat (limited to 'core')
-rw-r--r--core/iproute2/gen.rc13
1 files changed, 12 insertions, 1 deletions
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
+}