* Michael Gilbert <mgilb...@debian.org>, 2014-11-01, 20:55:
override_dh_auto_install:
        dh_auto_install
        rm -f $(CURDIR)/debian/tmp/pyshared/libusermodule.la
+       mkdir $(CURDIR)/debian/tmp/usr/share/man/man8
+       for n in $$(ls debian/tmp/usr/sbin); do \
+           mv $(CURDIR)/debian/tmp/usr/share/man/man1/$$n.1 \
+              $(CURDIR)/debian/tmp/usr/share/man/man8/$$n.8; \
+           sed -i "s/^\.TH $$n 1 /.TH $$n 8 /" \
+              $(CURDIR)/debian/tmp/usr/share/man/man8/$$n.8; \
+           done

This for loop lacks "set -e"; please see Policy ยง4.6.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to