chiark / gitweb /
rules: introduce $i
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 15:09:13 +0000 (16:09 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 15:09:13 +0000 (16:09 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/rules

index 17bbf5e..d23107c 100755 (executable)
@@ -7,9 +7,11 @@ export PYBUILD_INSTALL_DIR=/usr/share/hippotat/python3
 %:
        dh $@ --with python3 --buildsystem=pybuild
 
+i=debian/hippotat
+
 debian/copyright: COPYING AGPLv3+CAFv2
        cat $^ >$@.tmp && mv -f $@.tmp $@
 
 override_dh_compress:
-       find debian/hippotat/usr/{bin,sbin} -type f | xargs ./subst-sys-path
+       find $i/usr/{bin,sbin} -type f | xargs ./subst-sys-path
        dh_compress