add source links
diff --git a/dist/manweb b/dist/manweb
index 0ffbc48..32e9029 100755
--- a/dist/manweb
+++ b/dist/manweb
@@ -72,7 +72,7 @@
 		sed '/<!-- TRAILER -->/q' /tmp/manweb.html
 		cat $PLAN9/dist/mantrailer.html
 		sed -n '/<!-- TRAILER -->/,$p' /tmp/manweb.html
-	} >$d/$p.html
+	} | $PLAN9/dist/addsrclinks >$d/$p.html
 }
 rm /tmp/manweb.html
 cd $PLAN9/dist