summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorshemminger <shemminger>2005-06-23 17:39:57 +0000
committershemminger <shemminger>2005-06-23 17:39:57 +0000
commitc4c9765e0bd22fb340f3e7cda420ad0c98d0749c (patch)
treee4b39fb6da241c2c9f4e30936d9d80c267805874 /Makefile
parent6d4662d4f7508fa9d247ab0f5a179946722499fc (diff)
The symlink commands create absolute symlinks instead of relative.
This causes dangling links in case the package is installed using DESTDIR. Some package managers will report this as an error.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 21ff831c..ac58cd97 100644
--- a/Makefile
+++ b/Makefile
@@ -51,8 +51,8 @@ install: all
install -m 0644 $(shell find etc/iproute2 -maxdepth 1 -type f) $(DESTDIR)$(CONFDIR)
install -m 0755 -d $(DESTDIR)$(MANDIR)/man8
install -m 0644 $(shell find man/man8 -maxdepth 1 -type f) $(DESTDIR)$(MANDIR)/man8
- 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
+ ln -sf tc-pbfifo.8 $(DESTDIR)$(MANDIR)/man8/tc-bfifo.8
+ ln -sf tc-pbfifo.8 $(DESTDIR)$(MANDIR)/man8/tc-pfifo.8
install -m 0755 -d $(DESTDIR)$(MANDIR)/man3
install -m 0644 $(shell find man/man3 -maxdepth 1 -type f) $(DESTDIR)$(MANDIR)/man3