fix when DESTDIR is set.

(Logical change 1.86)
This commit is contained in:
osdl.net!shemminger 2004-09-28 18:52:54 +00:00
parent fd348787c9
commit c3759b76a2

View File

@ -48,9 +48,8 @@ install: all
@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
ln -sf $(MANDIR)/man8/tc-pbfifo.8 $(DESTDIR)$(MANDIR)/man8/tc-bfifo.8
ln -sf $(MANDIR)/man8/tc-pbfifo.8 $(DESTDIR)$(MANDIR)/man8/tc-pfifo.8
clean:
@for i in $(SUBDIRS) doc; \