Makefile cleanup

(Logical change 1.76)
This commit is contained in:
osdl.net!shemminger 2004-08-30 22:37:50 +00:00
parent 981fb98b60
commit 06ddd50f1f

View File

@ -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: