diff --git a/Makefile b/Makefile index 0e52fe29..db064e6a 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ DESTDIR= SBINDIR=/usr/sbin CONFDIR=/etc/iproute2 DOCDIR=/usr/doc/iproute2 +MANDIR=/usr/share/man # Path to db_185.h include DBM_INCLUDE:=/usr/include @@ -46,6 +47,9 @@ install: all $(DESTDIR)$(DOCDIR)/examples/diffserv @for i in $(SUBDIRS) doc; do $(MAKE) -C $$i install; done install -m 0644 $(shell find etc/iproute2 -type f -maxdepth 1) $(DESTDIR)$(CONFDIR) + install -m 0644 $(shell find man/man8 -type f -maxdepth 1) $(DESTDIR)$(MANDIR)/man8 + ln -sf $(DESTDIR)$(MANDIR)/man8/tc-pbfifo.8 $(DESTDIR)$(MANDIR)/man8/tc-bfifo.8 + ln -sf $(DESTDIR)$(MANDIR)/man8/tc-pbfifo.8 $(DESTDIR)$(MANDIR)/man8/tc-pfifo.8 clean: