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 tc-sfb.8 tc-netem.8 tc-choke.8 ip-tunnel.8 ip-rule.8 ip-ntable.8 \ 8 ip-monitor.8 tc-stab.8 tc-hfsc.8 ip-xfrm.8 ip-netns.8 \ 9 ip-neighbour.8 ip-mroute.8 ip-maddress.8 ip-addrlabel.8 10 11 12 all: $(TARGETS) 13 14 ip-address.8: ip-address.8.in 15 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@ 16 17 ip-link.8: ip-link.8.in 18 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@ 19 20 ip-route.8: ip-route.8.in 21 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@ 22 23 distclean: clean 24 25 clean: 26 @rm -f $(TARGETS) 27 28 install: 29 $(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8 30 $(INSTALLMAN) $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8 31 32 .PHONY: install clean distclean 33