aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/iproute2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/iproute2.sh')
-rw-r--r--chapter8/iproute2.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter8/iproute2.sh b/chapter8/iproute2.sh
new file mode 100644
index 0000000..efa8e3f
--- /dev/null
+++ b/chapter8/iproute2.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+sed -i /ARPD/d Makefile
+rm -fv man/man8/arpd.8
+
+sed -i 's/.m_ipt.o//' tc/Makefile
+
+make
+
+make DOCDIR=/usr/share/doc/iproute2-"${VERSION}" -j1 install