diff options
author | Brian Norris <briannorris@chromium.org> | 2020-04-07 10:43:05 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2020-04-20 09:39:27 -0700 |
commit | 48e05899d0b73429ceca05c08e8ae3eac8fd1eba (patch) | |
tree | e003919fe063791eee5267250909515b64b30e9c | |
parent | f03ad792f3cdef5ade92392db6710441b35b47dd (diff) | |
download | iproute2-48e05899d0b73429ceca05c08e8ae3eac8fd1eba.tar.gz |
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>
-rw-r--r-- | man/man8/.gitignore | 1 | ||||
-rw-r--r-- | man/man8/Makefile | 10 | ||||
-rw-r--r-- | man/man8/ip-netns.8.in (renamed from man/man8/ip-netns.8) | 0 |
3 files changed, 3 insertions, 8 deletions
diff --git a/man/man8/.gitignore b/man/man8/.gitignore index 0c3d15047..7b08e9114 100644 --- a/man/man8/.gitignore +++ b/man/man8/.gitignore @@ -1,4 +1,5 @@ # these pages are built ip-address.8 ip-link.8 +ip-netns.8 ip-route.8 diff --git a/man/man8/Makefile b/man/man8/Makefile index 0269e1740..9c6231239 100644 --- a/man/man8/Makefile +++ b/man/man8/Makefile @@ -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 diff --git a/man/man8/ip-netns.8 b/man/man8/ip-netns.8.in index c75917dac..c75917dac 100644 --- a/man/man8/ip-netns.8 +++ b/man/man8/ip-netns.8.in |