]> granicus.if.org Git - pdns/commitdiff
move dnstcpbench.1 to tools deb auth-3.3-rc2
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 27 Jun 2013 10:58:42 +0000 (12:58 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 27 Jun 2013 10:58:42 +0000 (12:58 +0200)
debian-pdns/rules

index 3b56060c8a8ac08d94de096df01f98d12da4788d..02598ac792939583681c0f3c6291601ebd1ba53c 100755 (executable)
@@ -121,6 +121,8 @@ binary-main-prepare:
                "$(tools_tmpdir)"/usr/bin
        install -d -m 755 -o root -g root \
                "$(tools_tmpdir)"/usr/share/man/man8
+       install -d -m 755 -o root -g root \
+               "$(tools_tmpdir)"/usr/share/man/man1
        install -d -m 755 -o root -g root \
                "$(tools_tmpdir)"/usr/share/doc/pdns-tools
        install -p -m 644 -o root -g root debian-pdns/changelog \
@@ -131,12 +133,13 @@ binary-main-prepare:
 
        install -d -m 755 -o root -g root "$(tools_tmpdir)"/DEBIAN
 
+       #FIXME: shell loops hide errors
        for prog in dnsbulktest dnsreplay dnsscan dnsscope dnstcpbench dnswasher nproxy nsec3dig ; do \
                mv "$(tmpdir)"/usr/bin/$$prog "$(tools_tmpdir)"/usr/bin ; \
                [ -e "$(tmpdir)"/usr/share/man/man8/"$$prog".8 ] && \
                        mv "$(tmpdir)"/usr/share/man/man8/"$$prog".8 "$(tools_tmpdir)"/usr/share/man/man8/ ; \
-               [ -e "$(tmpdir)"/usr/share/man/man8/"$$prog".1 ] && \
-                       mv "$(tmpdir)"/usr/share/man/man8/"$$prog".1 "$(tools_tmpdir)"/usr/share/man/man1/ ; \
+               [ -e "$(tmpdir)"/usr/share/man/man1/"$$prog".1 ] && \
+                       mv "$(tmpdir)"/usr/share/man/man1/"$$prog".1 "$(tools_tmpdir)"/usr/share/man/man1/ ; \
                strip --remove-section=.comment --remove-section=.note \
                        --strip-unneeded \
                        "$(tools_tmpdir)"/usr/bin/"$$prog" ; \