]> git.proxmox.com Git - mirror_iproute2.git/blob - man/man8/Makefile
iproute2 - Split up manual page installation
[mirror_iproute2.git] / man / man8 / Makefile
1 TARGETS = ip-address.8 ip-link.8 ip-route.8
2
3 MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 ss.8 \
4 tc-bfifo.8 tc-cbq-details.8 tc-cbq.8 tc-drr.8 tc-htb.8 \
5 tc-pfifo.8 tc-pfifo_fast.8 tc-prio.8 tc-red.8 tc-sfq.8 \
6 tc-tbf.8 tc.8 rtstat.8 ctstat.8 nstat.8 routef.8
7
8 all: $(TARGETS)
9
10 ip-address.8: ip-address.8.in
11 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
12
13 ip-link.8: ip-link.8.in
14 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
15
16 ip-route.8: ip-route.8.in
17 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
18
19 distclean: clean
20
21 clean:
22 @rm -f $(TARGETS)
23
24 install:
25 $(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8
26 $(INSTALLMAN) $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
27
28 .PHONY: install clean distclean