blob: e998928810f9e1a2570cf09d21bd0e2f3fa557ac [file] [log] [blame]
Christoph J. Thompson761a1e62012-03-01 17:45:45 +01001TARGETS = ip-address.8 ip-link.8 ip-route.8
2
3MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 ss.8 \
Stephen Hemmingerbd899db2012-09-17 15:46:00 -07004 tc.8 tc-bfifo.8 tc-cbq.8 tc-cbq-details.8 tc-choke.8 tc-codel.8 \
Mythili Prabhu8c452752014-01-16 19:39:52 -08005 tc-drr.8 tc-ematch.8 tc-fq_codel.8 tc-hfsc.8 tc-htb.8 tc-pie.8 \
John Fastabend39935c92014-03-03 09:38:20 -08006 tc-mqprio.8 tc-netem.8 tc-pfifo.8 tc-pfifo_fast.8 tc-prio.8 tc-red.8 \
John Fastabend059547c2012-08-27 10:50:31 -07007 tc-sfb.8 tc-sfq.8 tc-stab.8 tc-tbf.8 \
Stephen Hemmingerd04bc302012-08-01 15:23:49 -07008 bridge.8 rtstat.8 ctstat.8 nstat.8 routef.8 \
Andreas Henriksson987e9d72012-11-09 16:42:41 +01009 ip-addrlabel.8 ip-l2tp.8 \
Stephen Hemminger5147af52012-08-25 08:39:30 -070010 ip-maddress.8 ip-monitor.8 ip-mroute.8 ip-neighbour.8 \
Andreas Henriksson987e9d72012-11-09 16:42:41 +010011 ip-netns.8 ip-ntable.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 \
Daniel Borkmann191b60b2013-04-30 06:22:50 +000012 ip-tcp_metrics.8 ip-netconf.8 ip-token.8
Christoph J. Thompson761a1e62012-03-01 17:45:45 +010013
14all: $(TARGETS)
15
16ip-address.8: ip-address.8.in
17 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
18
19ip-link.8: ip-link.8.in
20 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
21
22ip-route.8: ip-route.8.in
23 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
24
25distclean: clean
26
27clean:
28 @rm -f $(TARGETS)
29
30install:
31 $(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8
32 $(INSTALLMAN) $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
33
34.PHONY: install clean distclean