]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
fix when DESTDIR is set.
authorosdl.net!shemminger <osdl.net!shemminger>
Tue, 28 Sep 2004 18:52:54 +0000 (18:52 +0000)
committerosdl.net!shemminger <osdl.net!shemminger>
Tue, 28 Sep 2004 18:52:54 +0000 (18:52 +0000)
(Logical change 1.86)

Makefile

index db064e6ab1c3c5421b5e698abacd6d5d86e14762..380857b079aec7564d1b354cb532f58358076ab0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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; \