summaryrefslogtreecommitdiff
path: root/bld/install-man
diff options
context:
space:
mode:
Diffstat (limited to 'bld/install-man')
-rwxr-xr-xbld/install-man9
1 files changed, 9 insertions, 0 deletions
diff --git a/bld/install-man b/bld/install-man
new file mode 100755
index 0000000..f4cf3dc
--- /dev/null
+++ b/bld/install-man
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+for f in *; do
+ if [ -d $f ]; then
+ $2 -m 755 -d $1/$f/man8
+ $2 -m 644 $f/dnsmasq.8 $1/$f/man8
+ echo installing $1/$f/man8/dnsmasq.8
+ fi
+done