mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-04 21:40:34 +00:00
man: add ip-netns(8) as generation target
Prepare for adding new variable substitutions. Unify the sed rules while we're at it, since there's no need to write this out 4 times. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
f03ad792f3
commit
48e05899d0
1
man/man8/.gitignore
vendored
1
man/man8/.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
# these pages are built
|
||||
ip-address.8
|
||||
ip-link.8
|
||||
ip-netns.8
|
||||
ip-route.8
|
||||
|
@ -1,17 +1,11 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
TARGETS = ip-address.8 ip-link.8 ip-route.8
|
||||
TARGETS = ip-address.8 ip-link.8 ip-netns.8 ip-route.8
|
||||
|
||||
MAN8PAGES = $(TARGETS) $(filter-out $(TARGETS),$(wildcard *.8))
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
ip-address.8: ip-address.8.in
|
||||
sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
|
||||
|
||||
ip-link.8: ip-link.8.in
|
||||
sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
|
||||
|
||||
ip-route.8: ip-route.8.in
|
||||
%: %.in
|
||||
sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
|
||||
|
||||
distclean: clean
|
||||
|
Loading…
Reference in New Issue
Block a user